Skip to content

Commit 1ed1da4

Browse files
authoredAug 12, 2024··
fix(vscode): multiple projects in one workspace not work (#4055)
1 parent bcac919 commit 1ed1da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/vscode/src/contextLoader.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class ContextLoader {
4747
}
4848

4949
isTarget(id: string) {
50-
return !this.contextsMap.get(this.cwd) || isSubdir(this.cwd, id)
50+
return Array.from(this.contextsMap.keys()).some(cwd => isSubdir(cwd, id))
5151
}
5252

5353
get contexts() {

0 commit comments

Comments
 (0)
Please sign in to comment.