diff --git a/pnpm/src/main.ts b/pnpm/src/main.ts index 06148d35c4..02ff0219ee 100644 --- a/pnpm/src/main.ts +++ b/pnpm/src/main.ts @@ -403,7 +403,7 @@ function checkPackageManager (pm: EngineDependency): void { const msg = `This project is configured to use ${pm.version} of pnpm. Your current pnpm is v${currentPnpmVersion}` if (shouldError) { throw new PnpmError('BAD_PM_VERSION', msg, { - hint: 'If you want to bypass this version check, you can set the "pmOnFail" configuration to "warn" or "ignore" (e.g. via --pm-on-fail=ignore). If using "devEngines.packageManager", you can set its "onFail" to "warn" or "ignore"', + hint: 'If you want to bypass this version check, you can set the "pm-on-fail" configuration to "warn" or "ignore" (e.g. via --pm-on-fail=ignore). If using "devEngines.packageManager", you can set its "onFail" to "warn" or "ignore"', }) } else { globalWarn(msg)