Skip to content

Commit

Permalink
Added sys.exit in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
reutshal committed Dec 19, 2019
1 parent 62885b3 commit 5c5cd0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### 0.2.1

* **Validate** now checks that the id and name fields are identical in yml files
* Fixed a bug where **main** method did not return any exit code

### 0.2.0

Expand Down
3 changes: 2 additions & 1 deletion demisto_sdk/__main__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import sys
from demisto_sdk.main import main


def console_entry() -> None:
main()
sys.exit(main())


if __name__ == '__main__':
Expand Down

0 comments on commit 5c5cd0b

Please sign in to comment.