Skip to content

Commit 26e7ffb

Browse files
committed
adds bash-path as a dependency
resolves #2
1 parent d08d765 commit 26e7ffb

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ var spawn = require('cross-spawn');
88
var isExtglob = require('is-extglob');
99
var extend = require('extend-shallow');
1010
var Emitter = require('component-emitter');
11-
var bashPath = process.platform === 'darwin'
12-
? '/usr/local/bin/bash'
13-
: 'bash';
11+
var bashPath = require('bash-path');
1412

1513
/**
1614
* Asynchronously returns an array of files that match the given pattern

package.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,23 @@
2121
},
2222
"dependencies": {
2323
"async-each": "^1.0.1",
24+
"bash-path": "^1.0.1",
2425
"component-emitter": "^1.2.1",
2526
"cross-spawn": "^5.1.0",
2627
"extend-shallow": "^2.0.1",
2728
"is-extglob": "^2.1.1",
28-
"is-glob": "^3.1.0"
29+
"is-glob": "^4.0.0"
2930
},
3031
"devDependencies": {
3132
"arr-union": "^3.1.0",
3233
"array-unique": "^0.3.2",
33-
"async-array-reduce": "^0.2.1",
34-
"delete": "^0.3.2",
35-
"glob": "^7.1.1",
36-
"gulp-format-md": "^0.1.12",
34+
"async-array-reduce": "^1.0.0",
35+
"delete": "^1.1.0",
36+
"glob": "^7.1.2",
37+
"gulp-format-md": "^1.0.0",
3738
"minimist": "^1.2.0",
3839
"mkdirp": "^0.5.1",
39-
"mocha": "^3.3.0"
40+
"mocha": "^3.2.0"
4041
},
4142
"keywords": [
4243
"bash",

0 commit comments

Comments
 (0)