config resolver: use slash for relativeFile as before (for #40256)

This commit is contained in:
Benjamin Pasero
2017-12-18 11:24:57 +01:00
parent 85831ea2b2
commit 39df58304b

View File

@@ -70,7 +70,7 @@ export class ConfigurationResolverService implements IConfigurationResolverServi
}
private get relativeFile(): string {
return (this.workspaceRoot) ? relative(this.workspaceRoot, this.file) : this.file;
return (this.workspaceRoot) ? paths.normalize(relative(this.workspaceRoot, this.file)) : this.file;
}
private get fileBasename(): string {