mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 12:30:08 -06:00
Forgot the sys.exit
This commit is contained in:
@@ -3,6 +3,7 @@ from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import re
|
||||
import sys
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit.clientlib.validate_base import get_validator
|
||||
@@ -90,4 +91,4 @@ def run(argv):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
sys.exit(run())
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit.clientlib.validate_base import get_validator
|
||||
@@ -79,4 +80,4 @@ def run(argv):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
sys.exit(run())
|
||||
|
||||
Reference in New Issue
Block a user