Make sigil stripping from recipe lines less incomprehensible (#1812)
This commit is contained in:
parent
87925f293e
commit
1bfed56e5e
@ -195,13 +195,9 @@ impl<'src, D> Recipe<'src, D> {
|
||||
|
||||
let mut command = evaluated.as_str();
|
||||
|
||||
if quiet_command {
|
||||
command = &command[1..];
|
||||
}
|
||||
let sigils = usize::from(infallible_command) + usize::from(quiet_command);
|
||||
|
||||
if infallible_command {
|
||||
command = &command[1..];
|
||||
}
|
||||
command = &command[sigils..];
|
||||
|
||||
if command.is_empty() {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user