Skip to content

Commit 2ac620d

Browse files
SuperchupuDevthecodrr
authored andcommitted
fix: use || instead of ?? for node 12 compat
1 parent f1630d1 commit 2ac620d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/walker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class Walker<TOutput extends Output> {
5151
symlinks: new Map(),
5252
visited: [""].slice(0, 0),
5353
controller: new Aborter(),
54-
fs: options.fs ?? nativeFs,
54+
fs: options.fs || nativeFs,
5555
};
5656

5757
/*

0 commit comments

Comments
 (0)