Only get the jshint file when needed.

This commit is contained in:
jrfnl 2015-12-26 05:00:11 +01:00
parent 4a3cd975ec
commit 91d536d49c
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ before_script:
# @link http://jshint.com/docs/ # @link http://jshint.com/docs/
- if [[ "$SNIFF" == "1" ]]; then npm install -g jshint; fi - if [[ "$SNIFF" == "1" ]]; then npm install -g jshint; fi
# Pull in the WP Core jshint rules. # Pull in the WP Core jshint rules.
- wget https://develop.svn.wordpress.org/trunk/.jshintrc - if [[ "$SNIFF" == "1" ]]; then wget https://develop.svn.wordpress.org/trunk/.jshintrc; fi
# Run test script commands. # Run test script commands.
# Default is specific to project language. # Default is specific to project language.