We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6d5fd commit a574887Copy full SHA for a574887
1 file changed
src/publish/index.js
@@ -397,10 +397,9 @@ export const publish = async (options) => {
397
if (existsSync(path.resolve(rootDir, 'pnpm-lock.yaml'))) {
398
console.info(' Updating pnpm-lock.yaml...')
399
try {
400
- execSync('pnpm install')
+ execSync('pnpm install --no-frozen-lockfile')
401
} catch (/** @type {any} */ err) {
402
- console.error(err.stdout.toString())
403
- process.exit(1)
+ throw new Error(err.stdout.toString())
404
}
405
406
0 commit comments