Skip to content

Commit

Permalink
Update typescriptProjectProvider.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed May 15, 2024
1 parent bb1a5ca commit 00da9f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export function createTypeScriptProjectProvider(
if (change.type === vscode.FileChangeType.Deleted) {
rootTsConfigs.delete(server.uriConverter.uriToFileName(change.uri));
}
const project = configProjects!.get(change.uri);
configProjects!.delete(change.uri);
const project = configProjects.get(change.uri);
configProjects.delete(change.uri);
project?.then(project => project.dispose());
}
}
Expand Down

0 comments on commit 00da9f1

Please sign in to comment.