Merge branch 'master' of https://github.com/microsoft/vscode
This commit is contained in:
commit
8e1fe1d899
4 changed files with 607 additions and 393 deletions
|
@ -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"
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue