| commit | 39ab2ed85eb587ed3261189f31e5c0f191735bb8 | [log] [tgz] |
|---|---|---|
| author | Anthony Sottile <asottile@umich.edu> | Sat Oct 23 13:23:50 2021 -0400 |
| committer | Anthony Sottile <asottile@umich.edu> | Sat Oct 23 13:23:50 2021 -0400 |
| tree | 4a84cb4ea01c10f74387e6775de5b661855bd753 | |
| parent | 9fc352be79c357552d76d744990a0e992c1510f7 [diff] [blame] |
replace exit(main()) with raise SystemExit(main()) Committed via https://github.com/asottile/all-repos
diff --git a/pre_commit_hooks/detect_aws_credentials.py b/pre_commit_hooks/detect_aws_credentials.py index 1663cfd..ba1d789 100644 --- a/pre_commit_hooks/detect_aws_credentials.py +++ b/pre_commit_hooks/detect_aws_credentials.py
@@ -149,4 +149,4 @@ if __name__ == '__main__': - exit(main()) + raise SystemExit(main())