diff --git a/pkg-manager/core/src/install/index.ts b/pkg-manager/core/src/install/index.ts index 0e7b3358e51..5738ca9b877 100644 --- a/pkg-manager/core/src/install/index.ts +++ b/pkg-manager/core/src/install/index.ts @@ -417,6 +417,7 @@ Note that in CI environments, this setting is enabled by default.`, hint: 'Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"', }) } + /* eslint-disable @typescript-eslint/restrict-template-expressions */ throw new PnpmError('OUTDATED_LOCKFILE', `Cannot install with "frozen-lockfile" because ${WANTED_LOCKFILE} is not up to date with ` + path.relative(opts.lockfileDir, path.join(rootDir, 'package.json')), { @@ -425,6 +426,7 @@ Note that in CI environments, this setting is enabled by default.`, Failure reason: ${detailedReason ?? ''}`, }) + /* eslint-enable @typescript-eslint/restrict-template-expressions */ } } }