Update terminal quick fix proposal

Part of #162950
This commit is contained in:
Daniel Imms
2023-08-09 07:41:00 -07:00
parent 2159f75d4b
commit 5edcca3b38
7 changed files with 61 additions and 17 deletions

View File

@@ -78,7 +78,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
}
const lines = outputMatch.regexMatch[1];
const fixes: vscode.TerminalQuickFixCommand[] = [];
const fixes: vscode.TerminalQuickFixExecuteTerminalCommand[] = [];
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.