Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
filter stdout properly
Browse files Browse the repository at this point in the history
  • Loading branch information
montyanderson committed Nov 21, 2019
1 parent e6cf6a1 commit 9bd7415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/uplink.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
size: Number(size),
path
}))
.filter(file => file.path.trim().length > 0);
.filter(file => typeof file.path === 'string');
},

cat(path) {
Expand Down

0 comments on commit 9bd7415

Please sign in to comment.