Skip to content

Commit 2b0a464

Browse files
committed
fix directoryIsEmpty()
1 parent 6a2d2dc commit 2b0a464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LfmPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function isDirectory()
168168
*/
169169
public function directoryIsEmpty()
170170
{
171-
return count($this->disk->allFiles()) == 0;
171+
return count($this->storage->allFiles()) == 0;
172172
}
173173

174174
public function normalizeWorkingDir()

0 commit comments

Comments
 (0)