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 22, 2020
1 parent 99dbf31 commit 4a6bf6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ script:
- gulp minify
- gulp test
- gulp zip
- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "11" ] && travis/deploy-prebuilt.sh || true'
- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "14" ] && travis/deploy-prebuilt.sh || true'
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": "[ $npm_config_heading = 'npm' ] && npx npm-force-resolutions || true"
},
"files": [
"AUTHORS.md",
Expand Down

0 comments on commit 4a6bf6f

Please sign in to comment.