mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:58:55 -05:00
uri display: if no formater regeistered just return path
This commit is contained in:
@@ -58,7 +58,7 @@ export class UriDisplayService implements IUriDisplayService {
|
||||
}
|
||||
const formater = this.formaters.get(resource.scheme);
|
||||
if (!formater) {
|
||||
return resource.with({ query: null, fragment: null }).toString(true);
|
||||
return resource.path;
|
||||
}
|
||||
|
||||
if (relative) {
|
||||
|
||||
Reference in New Issue
Block a user