mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 10:16:01 +01:00
fix tests on win
This commit is contained in:
@@ -338,7 +338,7 @@ export class ExplorerItem {
|
||||
if (resource && this.resource.scheme === resource.scheme && this.resource.authority === resource.authority &&
|
||||
(isLinux ? startsWith(resource.path, this.resource.path) : startsWithIgnoreCase(resource.path, this.resource.path))
|
||||
) {
|
||||
return this.findByPath(rtrim(resource.path, paths.nativeSep), this.resource.path.length);
|
||||
return this.findByPath(rtrim(resource.path, paths.sep), this.resource.path.length);
|
||||
}
|
||||
|
||||
return null; //Unable to find
|
||||
|
||||
Reference in New Issue
Block a user