mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
bring back css tests (#160326)
This commit is contained in:
committed by
GitHub
parent
28c330caf0
commit
440e61ffab
@@ -27,11 +27,11 @@ export function getDocumentContext(documentUri: string, workspaceFolders: Worksp
|
||||
if (ref[0] === '/') { // resolve absolute path against the current workspace folder
|
||||
const folderUri = getRootFolder();
|
||||
if (folderUri) {
|
||||
return folderUri + ref.substr(1);
|
||||
return folderUri + ref.substring(1);
|
||||
}
|
||||
}
|
||||
base = base.substr(0, base.lastIndexOf('/') + 1);
|
||||
return Utils.resolvePath(URI.parse(base), ref).toString();
|
||||
base = base.substring(0, base.lastIndexOf('/') + 1);
|
||||
return Utils.resolvePath(URI.parse(base), ref).toString(true);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user