Permalink
Browse files

standard

  • Loading branch information...
maxogden committed Jan 5, 2016
1 parent e25c4e2 commit 7d900f79f20490d4ef0985a0bb7fbc8fbc415e66
Showing with 3 additions and 3 deletions.
  1. +1 −1 package.json
  2. +2 −2 tests/helpers/spawn.js
View
@@ -14,7 +14,7 @@
"scripts": {
"install-precommit": "echo ./node_modules/.bin/standard > .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit",
"standard": "standard",
"test": "tape tests/*.js | tap-spec"
"test": "standard && tape tests/*.js | tap-spec"
},
"repository": {
"type": "git",
View
@@ -7,6 +7,6 @@ var hasBash = fs.existsSync('/bin/bash')
module.exports = function (t, cmd, opts) {
opts = opts || {}
if (hasBash) opts.shell = '/bin/bash' // override default of /bin/sh
if (hasBash) opts.shell = '/bin/bash' // override default of /bin/sh
return spawn(t, cmd, opts)
}
}

0 comments on commit 7d900f7

Please sign in to comment.