Skip to content
Browse files

Merge pull request #156 from camilonova/patch-2

Updated return codes from jshint
  • Loading branch information...
2 parents 3baa91b + 5e71cc9 commit af6953cc555f86afdc70477f8f5dd4fb8928dd2e @kmmbvnr committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django_jenkins/tasks/run_jshint.py
View
2 django_jenkins/tasks/run_jshint.py
@@ -53,7 +53,7 @@ def teardown_test_environment(self, **kwargs):
process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
output, err = process.communicate()
retcode = process.poll()
- if retcode not in [0, 1]: # normal csslint return codes
+ if retcode not in [0, 2]: # normal jshint return codes
raise CalledProcessError(retcode, cmd, output=output + '\n' + err)
self.output.write(output.decode('utf-8'))

0 comments on commit af6953c

Please sign in to comment.
Something went wrong with that request. Please try again.