Skip to content

Commit 39b63a1

Browse files
committed
Hopefully make preinstall condition work on Travis CI's /bin/sh
1 parent 99dbf31 commit 39b63a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"load": "gulp load",
2424
"jshint": "gulp jshint",
2525
"test": "gulp test",
26-
"preinstall": "[[ $npm_config_heading == 'npm' ]] && npx npm-force-resolutions || true"
26+
"preinstall": "if [ $npm_config_heading == 'npm' ]; then npx npm-force-resolutions; fi"
2727
},
2828
"files": [
2929
"AUTHORS.md",

0 commit comments

Comments
 (0)