Skip to content

Commit

Permalink
fix: exit with "generic error" code instead of "vuls. found" code whe…
Browse files Browse the repository at this point in the history
…n no valid path is provided (#86)
  • Loading branch information
G-Rath committed Apr 24, 2022
1 parent 641b817 commit e261ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func run() int {
"You must provide at least one path to either a lockfile or a directory containing a lockfile (see --help for usage and flags)\n",
)

return 1
return 127
}

exitCode := 0
Expand Down

0 comments on commit e261ae8

Please sign in to comment.