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 e212f1e commit fc8bc8bCopy full SHA for fc8bc8b
src/server/session.ts
@@ -1307,8 +1307,8 @@ namespace ts.server {
1307
private getProjects(args: protocol.FileRequestArgs, getScriptInfoEnsuringProjectsUptoDate?: boolean, ignoreNoProjectError?: boolean): Projects {
1308
let projects: readonly Project[] | undefined;
1309
let symLinkedProjects: MultiMap<Project> | undefined;
1310
- if (args.projectFileName) { // manually specified tsconfig, not sure anybody does this (but be sure to note it in the fix)
1311
- const project = this.getProject(args.projectFileName); // and we only get here when currentFileOnly is off
+ if (args.projectFileName) {
+ const project = this.getProject(args.projectFileName);
1312
if (project) {
1313
projects = [project];
1314
}
0 commit comments