Skip to content

Commit

Permalink
Exit 1
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Dec 8, 2020
1 parent 0566b4e commit 347a647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isort/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def sort_imports(
return SortAttempt(incorrectly_sorted, skipped, False)
except ISortError as error:
_print_hard_fail(config, message=str(error))
sys.exit(os.EX_CONFIG)
sys.exit(1)
except Exception:
_print_hard_fail(config, offending_file=file_name)
raise
Expand Down

0 comments on commit 347a647

Please sign in to comment.