mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
in extension land prefer URI.isUri, fixes #81819
This commit is contained in:
@@ -64,7 +64,7 @@ export class DiagnosticCollection implements vscode.DiagnosticCollection {
|
||||
this._checkDisposed();
|
||||
let toSync: vscode.Uri[] = [];
|
||||
|
||||
if (first instanceof URI) {
|
||||
if (URI.isUri(first)) {
|
||||
|
||||
if (!diagnostics) {
|
||||
// remove this entry
|
||||
|
||||
Reference in New Issue
Block a user