Skip to content

Commit

Permalink
check version with -v
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuapp committed Oct 10, 2024
1 parent 65d5a6f commit e8c6f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const registerInstallationHook = (
if (installedPackageManagerNames.includes('deno')) {
let isVersion1 = false
try {
const { stdout } = await execa('deno', ['-V'])
const { stdout } = await execa('deno', ['-v'])
isVersion1 = stdout.split(' ')[1].split('.')[0] == '1'
} catch {
isVersion1 = true
Expand Down

0 comments on commit e8c6f43

Please sign in to comment.