Skip to content

Commit

Permalink
Add exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaStebaev committed Sep 18, 2023
1 parent 144841c commit edb7f37
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ module.exports = {
"never"
],

"no-mixed-operators": "warn",
"no-negated-condition": "warn",
"no-shadow": "warn",
"no-ternary": "warn",
Expand Down
8 changes: 8 additions & 0 deletions src/exitCodes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export enum EXIT_CODES {
SUCCESS,
BAD_VERSION,
NOT_ATOMIC_UPGRADE,
UNKNOWN_SAFE_ADDRESS,
UNKNOWN_IMA
}

0 comments on commit edb7f37

Please sign in to comment.