Skip to content

Commit

Permalink
handle existing
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Jan 5, 2025
1 parent db60476 commit 2e7e746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ fn main() {
});

for (mod_folder, saw_ebo) in mods {
std::fs::create_dir(mod_folder.join("keys")).expect("can't create keys dir");
let Some(private) = keys.get(
mod_folder
.file_name()
Expand All @@ -189,6 +188,7 @@ fn main() {
}
}
}
std::fs::create_dir(mod_folder.join("keys")).expect("can't create keys dir");
private
.to_public_key()
.write(
Expand Down

0 comments on commit 2e7e746

Please sign in to comment.