Skip to content

Commit

Permalink
fix: check configuration type for deno.json detection (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn authored Jan 26, 2024
1 parent 1a488a4 commit c8470b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ export function startLanguageServer(
({ changes }: DidChangeDenoConfigurationParams) => {
let changedScopes = false;
for (const change of changes) {
if (change.configurationType != "denoJson") {
continue;
}
if (change.type == "added") {
const scopePath = vscode.Uri.parse(change.scopeUri).fsPath;
scopesWithDenoJson.add(scopePath);
Expand Down

0 comments on commit c8470b9

Please sign in to comment.