Skip to content

formatWorkflowCommandOutput

Turns the workflow commands in a GitHub Action’s output into plain lines: an annotation becomes <level>: <file>:<line> <message>, a group start its title, and the other commands are dropped.

Import:

import { formatWorkflowCommandOutput } from '@mnaoumov/obsidian-dev-toolkit/plugin-scanner-check';

Signature:

function formatWorkflowCommandOutput(output: string): string

Parameters:

Parameter Type Description
output string The action’s standard output.

Returns: string — The plain lines.