Skip to content

Commit 495e05c

Browse files
committedMay 18, 2015
Don't lose - arg from glob
1 parent 1533ea1 commit 495e05c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎bin/run.js

+5
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,11 @@ if (bail)
274274

275275
var glob = require('glob')
276276
files = files.reduce(function(acc, f) {
277+
if (f === '-') {
278+
acc.push(f)
279+
return acc
280+
}
281+
277282
// glob claims patterns MUST not include any '\'s
278283
if (!/\\/.test(f)) {
279284
f = glob.sync(f) || f

0 commit comments

Comments
 (0)
Please sign in to comment.