Skip to content

Commit 583fd08

Browse files
committed
fix check -f not writing. required bumping env2 to 0.3.1
1 parent fb05c7f commit 583fd08

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

Cargo.lock

Lines changed: 7 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ keywords = [
2424
[dependencies]
2525
clap = { version = "4.1.6", features = ["color", "env", "suggestions", "derive"]}
2626
shell-escape = "0.1.5"
27-
env2 = "0.2.0"
27+
env2 = "0.3.1"

src/command/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Or run this command to remove them from all files
9090
dest_env.reorder_based_on(&source_env);
9191
}
9292
// I think the exit is causing them not to save because we save on drop? Forcibly drop them Yay!
93-
for dest_env in dest_envs.iter_mut() {
93+
for dest_env in dest_envs.iter() {
9494
dest_env.save_if_modified().unwrap();
9595
}
9696
} else if has_missing {

0 commit comments

Comments
 (0)