mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 20:34:30 +01:00
Always open launch.json if it already exists but is empty when "configuring"
Fix #133327
This commit is contained in:
@@ -575,10 +575,6 @@ class Launch extends AbstractLaunch implements ILaunch {
|
||||
}
|
||||
}
|
||||
|
||||
if (content === '') {
|
||||
return { editor: null, created: false };
|
||||
}
|
||||
|
||||
const index = content.indexOf(`"${this.configurationManager.selectedConfiguration.name}"`);
|
||||
let startLineNumber = 1;
|
||||
for (let i = 0; i < index; i++) {
|
||||
|
||||
Reference in New Issue
Block a user