Skip to content

Commit

Permalink
fix: trim run scripts whitespace (#3450)
Browse files Browse the repository at this point in the history
Fixes #3444
  • Loading branch information
jdx authored Dec 10, 2024
1 parent 6e7c265 commit facc513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/task/task_script_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ impl TaskScriptParser {
}
let scripts = scripts
.iter()
.map(|s| tera.render_str(s, &ctx).unwrap())
.map(|s| tera.render_str(s.trim(), &ctx).unwrap())
.collect();
let mut cmd = usage::SpecCommand::default();
// TODO: ensure no gaps in args, e.g.: 1,2,3,4,5
Expand Down

0 comments on commit facc513

Please sign in to comment.