Skip to content

Commit

Permalink
fix(vscode): contextLoader with workspace (#3728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-He95 committed Apr 16, 2024
1 parent 9a37134 commit 351a4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vscode/src/contextLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class ContextLoader {
}

isTarget(id: string) {
return isSubdir(this.cwd, id)
return !this.contextsMap.get(this.cwd) || isSubdir(this.cwd, id)
}

get contexts() {
Expand Down

0 comments on commit 351a4f1

Please sign in to comment.