We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4860e5f commit 8cc1f85Copy full SHA for 8cc1f85
src/api/walker.ts
@@ -71,12 +71,12 @@ export class Walker<TOutput extends Output> {
71
this.resolveSymlink = resolveSymlink.build(options, this.isSynchronous);
72
this.walkDirectory = walkDirectory.build(this.isSynchronous);
73
this.pushPath =
74
- pushPath ??
+ pushPath ||
75
((p, arr) => {
76
arr.push(p);
77
});
78
this.pushGroup =
79
- pushGroup ??
+ pushGroup ||
80
((group, arr) => {
81
arr.push(group);
82
0 commit comments