Skip to content

Commit 2964fc4

Browse files
committed
Prevent updating package.json on pnpm uipdate
1 parent bc0e1c2 commit 2964fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ module.exports = function updateDB(print = defaultPrint) {
295295
if (lock.mode === 'yarn' && lock.version !== 1) {
296296
updateWith(print, yarnCommand + ' up -R caniuse-lite')
297297
} else if (lock.mode === 'pnpm') {
298-
updateWith(print, 'pnpm up caniuse-lite')
298+
updateWith(print, 'pnpm up --no-save caniuse-lite')
299299
} else if (lock.mode === 'bun') {
300300
updateWith(print, 'bun update caniuse-lite')
301301
} else {

0 commit comments

Comments
 (0)