Skip to content

Commit

Permalink
feat: exit with error on node version
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Aug 4, 2024
1 parent 0ec0c3c commit 469f84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const run = async () => {
}

if (!valid) {
return;
process.exit(1);
}

const [cmd, ...args] = process.argv.slice(2);
Expand Down

0 comments on commit 469f84d

Please sign in to comment.