We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e984aae commit 6ba8b40Copy full SHA for 6ba8b40
samples/python-git-secrets.py
@@ -58,10 +58,12 @@ def perform_scan():
58
print("Scanning {} recursively".format(args.scan))
59
if gs.scan_recursively(args.scan):
60
print("Found verboten string in path {}".format(args.scan))
61
+ exit(1)
62
else:
63
print("Scanning {}".format(args.scan))
64
if gs.scan_file(args.scan):
65
print("Found verboten string in file {}".format(args.scan))
66
67
68
69
if __name__ == "__main__":
0 commit comments