Skip to main content

escape_property

Function escape_property 

Source
pub fn escape_property(value: &str) -> String
Expand description

Escape a value for a GitHub Actions workflow command.

The transport is line based and delimits properties with , and ::, so an unescaped newline or colon in a path does not merely look wrong – it ends the command early and lets the remainder be read as a new one.