Skip to content

Commit

Permalink
Merge pull request #184 from Mte90/shellcheck
Browse files Browse the repository at this point in the history
fix(shellcheck): 2219
  • Loading branch information
b1ek authored Jun 13, 2024
2 parents 9ff58d4 + 40cb1e3 commit a4c8759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/loops/iter_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl TranslateModule for IterLoop {
format!("for {name} in {iterable}"),
"do".to_string(),
self.block.translate(meta),
format!("{indent}let {index}=${{{index}}}+1"),
format!("{indent}(( {index}++ )) || true"),
"done".to_string()].join("\n")
},
None => {
Expand All @@ -94,4 +94,4 @@ impl TranslateModule for IterLoop {
}
}
}
}
}

0 comments on commit a4c8759

Please sign in to comment.