Skip to content

Commit d93b32b

Browse files
achingbrainAlan Shaw
and
Alan Shaw
authored
chore: pr comments
Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai>
1 parent 45b0b30 commit d93b32b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class Data {
158158
mode = undefined
159159
}
160160

161-
if (mode === DEFAULT_DIRECTORY_MODE && this.type.includes('directory')) {
161+
if (mode === DEFAULT_DIRECTORY_MODE && this.isDirectory()) {
162162
mode = undefined
163163
}
164164
}

0 commit comments

Comments
 (0)