提交 ade3b368 编写于 作者: M Martin Aeschlimann

fix test

上级 22e9ae36
......@@ -74,7 +74,7 @@ export function rewriteWorkspaceFileForNewLocation(rawWorkspaceContents: string,
if (isRawFileWorkspaceFolder(folder)) {
if (sourceConfigFolder.scheme === Schemas.file) {
if (!isAbsolute(folder.path)) {
folder.path = resolve(sourceConfigFolder.path, folder.path); // relative paths get resolved against the workspace location
folder.path = resolve(fsPath(sourceConfigFolder), folder.path); // relative paths get resolved against the workspace location
}
folder.path = massageFolderPathForWorkspace(folder.path, targetConfigFolder, storedWorkspace.folders);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册