Skip to content

Commit 56c20be

Browse files
authored
Merge pull request #235 from qgustavor/next
Hotfix - v1.3.5
2 parents 2e67c5e + 55d4fcc commit 56c20be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/file.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class File extends EventEmitter {
4949
this.directory = !!opt.t
5050
this.owner = opt.u
5151
this.name = null
52-
if (this.directory && this.children) this.children = []
52+
if (this.directory && !this.children) this.children = []
5353

5454
if (!aes || !opt.k) return
5555

0 commit comments

Comments
 (0)