345
// Only convert the URI if it is `vscode-file:` scheme
346
if (uri.scheme === Schemas.vscodeFileResource) {
348
>
scheme: Schemas.file,
349
>
// Only preserve the `authority` if it is different from
350
>
// our fallback authority. This ensures we properly preserve
351
>
// Windows UNC paths that come with their own authority.
352
>
authority: uri.authority !== FileAccessImpl.FALLBACK_AUTHORITY ? uri.authority : null,
353
>
query: null,
354
>
fragment: null
355
>
});
356
>
}
357
358
return uri;