Skip to content

Commit 1970267

Browse files
Update packages/shared/src/graph/walk.ts
Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
1 parent 1148167 commit 1970267

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/shared/src/graph/walk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const walkTopological: WalkFn = (graph, callback, options) => {
115115
}
116116

117117
// emit remaining nodes (cycles) in declaration order
118-
const remaining = pointers.filter((pointer) => emitted.has(pointer) === false);
118+
const remaining = pointers.filter((pointer) => !emitted.has(pointer));
119119
remaining.sort((a, b) => declIndex.get(a)! - declIndex.get(b)!);
120120
for (const pointer of remaining) {
121121
emitted.add(pointer);

0 commit comments

Comments
 (0)