Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated return codes from jshint

jshint return codes changed after version 1.0, more information here:

jshint/jshint#916 (comment)
  • Loading branch information...
commit 5e71cc91c3dfc5d00755a5d7858cfe5b882f4763 1 parent 3baa91b
@camilonova camilonova authored
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'))
Please sign in to comment.
Something went wrong with that request. Please try again.