Skip to content

Commit cf6c3c9

Browse files
committed
Remove highlight and split screen on action output
1 parent 890affc commit cf6c3c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/actions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ export async function runAction(instance: Instance, uris: vscode.Uri | vscode.Ur
561561
const now = new Date();
562562
const resultsPanel = new CustomUI();
563563
if (targets.length === 1) {
564-
resultsPanel.addParagraph(`<pre><code>${targets[0].output.join("")}</code></pre>`)
564+
resultsPanel.addParagraph(`<pre>${targets[0].output.join("")}</pre>`)
565565
.setOptions({ fullPage: true ,
566566
css: /* css */ `
567567
pre{
@@ -571,7 +571,7 @@ export async function runAction(instance: Instance, uris: vscode.Uri | vscode.Ur
571571
});
572572
}
573573
else {
574-
resultsPanel.addBrowser("results", targets.filter(target => target.processed).map(target => ({ label: `${getTargetResultIcon(target)} ${path.basename(target.uri.path)}`, value: `<pre><code>${target.output.join("")}</code></pre>` } as TreeListItem)))
574+
resultsPanel.addBrowser("results", targets.filter(target => target.processed).map(target => ({ label: `${getTargetResultIcon(target)} ${path.basename(target.uri.path)}`, value: `<pre>${target.output.join("")}</pre>` } as TreeListItem)))
575575
.setOptions({
576576
fullPage: true,
577577
css: /* css */ `

0 commit comments

Comments
 (0)