mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Normalize folder/file URI paths with slash (#184163)
This commit is contained in:
parent
dbeea39df4
commit
80deac05cf
|
@ -869,6 +869,9 @@ export class WindowsMainService extends Disposable implements IWindowsMainServic
|
|||
|
||||
return undefined;
|
||||
}
|
||||
if (!uri.path) {
|
||||
return uri.with({ path: '/' });
|
||||
}
|
||||
|
||||
return uri;
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in a new issue