Skip to main content

validate_setup_commands

Function validate_setup_commands 

Source
pub fn validate_setup_commands(
    commands: Vec<String>,
) -> Result<Vec<String>, RuntimeSpecError>
Expand description

Validate setup commands from a workspace manifest.

§Arguments

  • commands - Shell commands requested by runtime.setup.

§Returns

Trimmed commands in input order.

§Errors

Returns RuntimeSpecError::EmptySetupCommand when a setup command is blank.