We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e582b55 commit f73cd50Copy full SHA for f73cd50
1 file changed
SPDX.py
@@ -3,6 +3,7 @@
3
# SPDX-License-Identifier: MIT
4
5
import os
6
+import sys
7
8
print("Starting SPDX Check")
9
@@ -19,7 +20,6 @@
19
20
except KeyError:
21
# If we're running on local machine
22
BUILD_DIR = os.path.abspath(".")
- pass
23
24
print(f"Running in {BUILD_DIR}")
25
files = []
@@ -70,5 +70,5 @@
70
if fail:
71
if missing_file:
72
print("Missing files:", missing_file)
73
- exit(-1)
74
-exit(0)
+ sys.exit(-1)
+sys.exit(0)
0 commit comments