This commit is contained in:
Martin Aeschlimann 2020-06-26 11:15:36 +02:00
commit 8e1fe1d899
4 changed files with 607 additions and 393 deletions

View file

@ -17,7 +17,7 @@
"*"
],
"main": "./out/mergeConflictMain",
"browser": "./dist/mergeConflictBrowserMain",
"browser": "./dist/browser/mergeConflictMain",
"scripts": {
"compile": "gulp compile-extension:merge-conflict",
"watch": "gulp watch-extension:merge-conflict"

View file

@ -162,9 +162,9 @@
"vsce": "1.48.0",
"vscode-debugprotocol": "1.41.0",
"vscode-nls-dev": "^3.3.1",
"webpack": "^4.16.5",
"webpack-cli": "^3.3.8",
"webpack-stream": "^5.1.1",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-stream": "^5.2.1",
"yaserver": "^0.2.0"
},
"repository": {

View file

@ -200,8 +200,11 @@ export abstract class AbstractWorkspaceEditingService implements IWorkspaceEditi
const remoteAuthority = this.environmentService.configuration.remoteAuthority;
const untitledWorkspace = await this.workspacesService.createUntitledWorkspace(folders, remoteAuthority);
if (path) {
await this.saveWorkspaceAs(untitledWorkspace, path);
await this.workspacesService.deleteUntitledWorkspace(untitledWorkspace); // https://github.com/microsoft/vscode/issues/100276
try {
await this.saveWorkspaceAs(untitledWorkspace, path);
} finally {
await this.workspacesService.deleteUntitledWorkspace(untitledWorkspace); // https://github.com/microsoft/vscode/issues/100276
}
} else {
path = untitledWorkspace.configPath;
}

985
yarn.lock

File diff suppressed because it is too large Load diff