Skip to content

Commit

Permalink
fix fshost#53
Browse files Browse the repository at this point in the history
  • Loading branch information
wayou committed Mar 29, 2018
1 parent a57c3b1 commit a5cdb0e
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 1 deletion.
7 changes: 7 additions & 0 deletions lib/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ exports.files = function files(dir, type, callback, options) {
if (err){
return callback(err)
}

if(!res){
res = {
dirs: [],
files: []
}
}

if(type === 'combine'){
results.files = results.files.concat(res);
Expand Down
160 changes: 160 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion test/fixtures/testdir5/testuções.txt

This file was deleted.

0 comments on commit a5cdb0e

Please sign in to comment.