Skip to content
This repository was archived by the owner on Feb 2, 2018. It is now read-only.

Commit 49cb312

Browse files
committed
fixup! Specify bash explicitly
1 parent 4734888 commit 49cb312

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
@@ -21,7 +21,7 @@
2121
"tslint:fix": "npm run lint -- --fix",
2222
"prepublish": "npm run build",
2323
"pretest": "npm run clean && npm run build",
24-
"test": "[[ $(node -v) =~ [[:digit:]]+ ]] && [[ ${BASH_REMATCH[0]} -gt 6 ]] && mocha dist/test || mocha dist6/test",
24+
"test": "/bin/bash -c '[[ $(node -v) =~ [[:digit:]]+ ]] && [[ ${BASH_REMATCH[0]} -gt 6 ]]' && mocha dist/test || mocha dist6/test",
2525
"posttest": "npm run lint",
2626
"test:dev": "mocha && npm run lint"
2727
},

0 commit comments

Comments
 (0)