mirror of https://github.com/buildinspace/peru.git
make sure exit codes get propagated through peru.py and __main__.py
This commit is contained in:
parent
967af6f048
commit
542671b4c5
2
peru.py
2
peru.py
|
@ -13,4 +13,4 @@ sys.path.insert(0, repo_root)
|
|||
|
||||
import peru.main # noqa: E402
|
||||
|
||||
peru.main.main()
|
||||
sys.exit(peru.main.main())
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
from . import main
|
||||
import sys
|
||||
|
||||
main.main()
|
||||
from .main import main
|
||||
|
||||
sys.exit(main())
|
||||
|
|
Loading…
Reference in New Issue