Skip to main content

validate_outputs

Function validate_outputs 

Source
pub fn validate_outputs(outputs: &[String]) -> Result<()>
Expand description

Nx 24’s validateOutputs: each output starts with a token, ! before it if negated, and one from {workspaceRoot} names a directory before any pattern. The error lists every output that breaks either rule, in Nx’s words.