Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 5be2fe3

Browse files
committed
fix bug where it was checking against double stripped
1 parent bffee19 commit 5be2fe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workspace_util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export function nearestParentWorkspace(
2525
break;
2626
}
2727

28-
// break in case the strip folder has not changed
29-
if (workspaceRoot === path.parse(current).dir) {
28+
// break in case the strip folder reached the workspace root
29+
if (workspaceRoot === current) {
3030
break;
3131
}
3232

0 commit comments

Comments
 (0)