Skip to content

Commit

Permalink
Fixed bug where Nones were included in args
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-mcdaniel committed Oct 16, 2023
1 parent ad3fb95 commit d86f69c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ impl Expression {
match flattened_arg {
Self::String(s) => cmd_args.push(s),
Self::Bytes(b) => cmd_args.push(String::from_utf8_lossy(&b).to_string()),
Self::None => continue,
_ => cmd_args.push(format!("{}", flattened_arg)),
}
}
Expand Down

0 comments on commit d86f69c

Please sign in to comment.