Merge pull request #197668 from microsoft/merogge/quick-fix-api

`addNewLine` -> `shouldExecute`, expose this in quick fix API
This commit is contained in:
Megan Rogge
2023-11-21 10:23:27 -06:00
committed by GitHub
14 changed files with 60 additions and 56 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
}
const lines = outputMatch.regexMatch[1];
const fixes: vscode.TerminalQuickFixExecuteTerminalCommand[] = [];
const fixes: vscode.TerminalQuickFixTerminalCommand[] = [];
for (const line of lines.split('\n')) {
// search from the second char, since the lines might be prefixed with
// "npm ERR!" which comes before the actual command suggestion.