Skip to content

Commit 6876ea7

Browse files
committed
Support Bun info (#77)
1 parent 1291634 commit 6876ea7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ function getLatestInfo(lock) {
8080
return JSON.parse(execSync('pnpm info caniuse-lite --json').toString())
8181
}
8282
if (lock.mode === 'bun') {
83-
// TO-DO: No 'bun info' yet. Created issue: https://github.com/oven-sh/bun/issues/12280
84-
return JSON.parse(execSync(' npm info caniuse-lite --json').toString())
83+
return JSON.parse(execSync(' bun info caniuse-lite --json').toString())
8584
}
8685

8786
return JSON.parse(execSync('npm show caniuse-lite --json').toString())

0 commit comments

Comments
 (0)