Skip to content

Commit

Permalink
Fix: correct arguments to array conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nspragg committed Apr 11, 2016
1 parent 77882fb commit 3ac2467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filehound.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class FileHound {
}

static any() {
return bluebird.all(arguments).reduce(flatten, []);
return bluebird.all(Array.prototype.slice.call(arguments)).reduce(flatten, []);
}

_getFiles(dir) {
Expand Down

0 comments on commit 3ac2467

Please sign in to comment.