Skip to content

Commit

Permalink
package.json: Split -w -x options to travis-status
Browse files Browse the repository at this point in the history
In commander.js v3.0.0 (as a result of tj/commander.js#599) -wx is
interpreted as -w with (invalid) timeout "x" instead of -w -x (which
makes sense and is consistent with GNU getopt behavior).  Split the
options to avoid the problem.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  • Loading branch information
kevinoid committed Aug 9, 2019
1 parent 6da6a57 commit 9f882cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -29,7 +29,7 @@
"lint-js": "eslint . && echo ESLint passed.",
"postpublish": "git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.",
"postversion": "rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"",
"preversion": "check-audit && depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david -i eslint && git-branch-is master && travis-status -b master -c -wx && appveyor-status -b master -c -w && nyc check-coverage --statements 95",
"preversion": "check-audit && depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david -i eslint && git-branch-is master && travis-status -b master -c -w -x && appveyor-status -b master -c -w && nyc check-coverage --statements 95",
"start": "supervisor --quiet --no-restart-on exit --extensions js,json --ignore test --poll-interval 2000 server.js",
"test": "npm run lint && npm run test-unit",
"test-cov": "npm run lint && npm run test-unit-cov",
Expand Down

0 comments on commit 9f882cf

Please sign in to comment.