Skip to content

Commit

Permalink
Hopefully make preinstall condition work on Travis CI's /bin/sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lehni committed Jun 19, 2020
1 parent 99dbf31 commit b90a711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"load": "gulp load",
"jshint": "gulp jshint",
"test": "gulp test",
"preinstall": "[[ $npm_config_heading == 'npm' ]] && npx npm-force-resolutions || true"
"preinstall": "if [ $npm_config_heading = npm ]; then npx npm-force-resolutions; fi"
},
"files": [
"AUTHORS.md",
Expand Down

0 comments on commit b90a711

Please sign in to comment.