Skip to content

Commit

Permalink
local file system supports symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
lexoyo committed Jan 20, 2021
1 parent 9cebc10 commit 8180c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unifile-fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class FsConnector {
return Fs.readdirPromised(securePath)
.reduce((memo, entry) => {
if(this.showHiddenFile || entry.charAt(0) != '.') {
return Fs.statPromised(Path.resolve(securePath, entry))
return Fs.lstatPromised(Path.resolve(securePath, entry))
.then((stat) => {
memo.push(statToFileInfos(entry, stat));
return memo;
Expand Down

0 comments on commit 8180c45

Please sign in to comment.