modify condition to ignore non-file URIs in RecentlyEditedTracker
This commit is contained in:
parent
dc9d46383f
commit
ad73f4eaa5
1 changed files with 1 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ export class RecentlyEditedTracker {
|
|||
editedRange: Omit<VsCodeRecentlyEditedRange, "lines" | "symbols">,
|
||||
): Promise<void> {
|
||||
|
||||
if (editedRange.uri.scheme === "output") {
|
||||
if (editedRange.uri.scheme !== "file") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -83,7 +83,6 @@ export class RecentlyEditedTracker {
|
|||
RecentlyEditedTracker.maxRecentlyEditedRanges,
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private insertDocument(uri: vscode.Uri): void {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue