paths - move path to extpath

This commit is contained in:
Benjamin Pasero
2019-02-12 20:30:37 +01:00
parent ac56ab6272
commit b0acf49b18
74 changed files with 257 additions and 257 deletions

View File

@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as paths from 'vs/base/common/paths';
import * as extpath from 'vs/base/common/extpath';
import { Schemas } from 'vs/base/common/network';
import { URI, UriComponents } from 'vs/base/common/uri';
import { Event, Emitter } from 'vs/base/common/event';
@@ -881,7 +881,7 @@ export class ExtHostVariableResolverService extends AbstractVariableResolverServ
if (activeEditor) {
const resource = activeEditor.document.uri;
if (resource.scheme === Schemas.file) {
return paths.normalize(resource.fsPath, true);
return extpath.normalize(resource.fsPath, true);
}
}
return undefined;