Skip to content

Commit a5637ba

Browse files
authored
Merge pull request #78 from cehenriques/main
Support Bun info (#77)
2 parents 1291634 + 6876ea7 commit a5637ba

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)