Skip to main content

TOOL_OUTPUT_MAX_LINES

Constant TOOL_OUTPUT_MAX_LINES 

Source
pub const TOOL_OUTPUT_MAX_LINES: usize = 6;
Expand description

How many lines of a failed command’s output are relayed into a report.

A failing npm ci prints its whole usage screen. Six lines is enough for the error and its cause, and short enough that the prune report around it is still readable; the rest is reachable through the log file the condensed output still names.