Skip to content

Commit

Permalink
Fix adding selectedEntry to openedFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Discookie committed Jan 28, 2022
1 parent ec43c23 commit b47160f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/processor/diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class DiagnosticsApi {

public reloadDiagnostics() {
// TODO: Allow loading all diagnostics at once
const filesToLoad = this._openedFiles;
const filesToLoad = [...this._openedFiles];

if (this._selectedEntry) {
filesToLoad.push(this._selectedEntry.file);
Expand Down

0 comments on commit b47160f

Please sign in to comment.