UNPKG

@tsed/cli

Version:
8 lines (7 loc) 174 B
import { context } from "@tsed/di"; export function taskOutput(output) { const task = context().get("currentTask"); if (task) { task.output = output; } }