mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
handle edge case, fixes #11402
This commit is contained in:
@@ -39,7 +39,7 @@ export class ExtHostWorkspace {
|
||||
}
|
||||
|
||||
if (isEqualOrParent(path, this._workspacePath)) {
|
||||
return relative(this._workspacePath, path);
|
||||
return relative(this._workspacePath, path) || path;
|
||||
}
|
||||
|
||||
return path;
|
||||
|
||||
Reference in New Issue
Block a user