mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Use comment iso type checking
This commit is contained in:
parent
bffb1995bd
commit
9a0b6f45bb
2 changed files with 6 additions and 4 deletions
|
|
@ -14,6 +14,7 @@ const argv = process.argv.slice(2);
|
|||
setEcoSystem(ECOSYSTEM_PY);
|
||||
|
||||
initializePackageManager(packageManagerName);
|
||||
const exitCode = await main(argv);
|
||||
var exitCode = await main(argv);
|
||||
|
||||
process.exit(typeof exitCode === 'number' ? exitCode : 1);
|
||||
// @ts-expect-error scanCommand can return an empty array in main
|
||||
process.exit(exitCode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue