Skip to content

Commit 9f882cf

Browse files
committed
package.json: Split -w -x options to travis-status
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 <[email protected]>
1 parent 6da6a57 commit 9f882cf

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
@@ -29,7 +29,7 @@
2929
"lint-js": "eslint . && echo ESLint passed.",
3030
"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.",
3131
"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\"",
32-
"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",
32+
"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",
3333
"start": "supervisor --quiet --no-restart-on exit --extensions js,json --ignore test --poll-interval 2000 server.js",
3434
"test": "npm run lint && npm run test-unit",
3535
"test-cov": "npm run lint && npm run test-unit-cov",

0 commit comments

Comments
 (0)