File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ def main():
122
122
epilog = 'Exit status is 0 if all files are okay, 1 if any files have an error. Errors are printed to stdout'
123
123
)
124
124
parser .add_argument ('--version' , action = 'version' , version = '%(prog)s ' + __version__ )
125
- parser .add_argument ('--ci' , action = 'store' , required = False )
126
125
parser .add_argument ('files' , nargs = '+' , help = 'Files to check' )
127
126
args = parser .parse_args ()
128
127
@@ -134,11 +133,7 @@ def main():
134
133
errors .extend (these_errors )
135
134
if errors :
136
135
print '%d total errors' % len (errors )
137
- if args .ci :
138
- return 0
139
- else :
140
- print "More info at https://github.com/DataDog/devops/wiki/Preventing-SQL-Injections."
141
- return 1
136
+ return 1
142
137
else :
143
138
return 0
144
139
You can’t perform that action at this time.
0 commit comments