Skip to content

Commit

Permalink
review: fix nit #226 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Sep 24, 2024
1 parent 62e21ae commit 8f6dd73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cargo-near-build/src/types/near/build/input/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ impl Opts {
.iter()
.map(|(key, value)| [key.as_str(), value.as_str()].join("="))
.collect();
equal_pairs.iter().for_each(|equal_pair| {
for equal_pair in equal_pairs.iter() {
cargo_args.extend(&["--env", equal_pair]);
});
}

cargo_args
.into_iter()
Expand Down

0 comments on commit 8f6dd73

Please sign in to comment.