Disable license check when offline (#198)
* Disable license check when offline. Fix issue with PNPM > 9 detection.
This commit is contained in:
committed by
GitHub
parent
a5d3338950
commit
20f7fd2c22
@@ -37,7 +37,7 @@ function checkPnpmVersion() {
|
||||
}
|
||||
|
||||
// warn if the minor version is less than 12
|
||||
if (minor < 12) {
|
||||
if (major < 9 && minor < 12) {
|
||||
console.warn(
|
||||
`\x1b[33m%s\x1b[0m`,
|
||||
`You are running pnpm ${currentPnpmVersion}. Makerkit recommends using pnpm 9.12.0 or higher.`,
|
||||
|
||||
Reference in New Issue
Block a user