Skip to content

Commit ff2930c

Browse files
partners: bug fix check_imports.py exit code. (#30897)
Signed-off-by: zhanluxianshen <[email protected]>
1 parent b36c2bf commit ff2930c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libs/partners/fireworks/scripts/check_imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
try:
1010
SourceFileLoader("x", file).load_module()
1111
except Exception:
12-
has_faillure = True
12+
has_failure = True
1313
print(file) # noqa: T201
1414
traceback.print_exc()
1515
print() # noqa: T201

libs/partners/huggingface/scripts/check_imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
try:
1010
SourceFileLoader("x", file).load_module()
1111
except Exception:
12-
has_faillure = True
12+
has_failure = True
1313
print(file) # noqa: T201
1414
traceback.print_exc()
1515
print() # noqa: T201

libs/partners/prompty/scripts/check_imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
try:
1010
SourceFileLoader("x", file).load_module()
1111
except Exception:
12-
has_faillure = True
12+
has_failure = True
1313
traceback.print_exc()
1414

1515
sys.exit(1 if has_failure else 0)

0 commit comments

Comments
 (0)