
* Basic functions create tag and create execution feature * Detailed function support, create tag still broken * create tag and pick folder * edit changelog and bump extension version * fix linting
11 lines
528 B
TypeScript
11 lines
528 B
TypeScript
import { ExecutionTreeItem } from "../../tree/functions/executions/ExecutionTreeItem";
|
|
import { openReadOnlyContent } from "../../ui/openReadonlyContent";
|
|
|
|
export async function viewExecutionOutput(executionItem: ExecutionTreeItem): Promise<void> {
|
|
if (executionItem === undefined) {
|
|
return;
|
|
}
|
|
|
|
const execution = executionItem.execution;
|
|
await openReadOnlyContent({ label: `${executionItem.parent.parent.func.name} execution stdout`, fullId: `${execution.$id}-output.txt` }, execution.stdout, '.txt');
|
|
}
|