Skip to content

Commit

Permalink
Another case where background is sent incorrect URI (#6688)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchiodo authored Dec 8, 2023
1 parent 5dd7564 commit 5bb4d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pyright-internal/src/backgroundAnalysisBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class BackgroundAnalysisBase {
}

setFileClosed(fileUri: Uri, isTracked?: boolean) {
this.enqueueRequest({ requestType: 'setFileClosed', data: { fileUri, isTracked } });
this.enqueueRequest({ requestType: 'setFileClosed', data: { fileUri: fileUri.toString(), isTracked } });
}

addInterimFile(fileUri: Uri) {
Expand Down

0 comments on commit 5bb4d5a

Please sign in to comment.