Skip to content

Commit

Permalink
Merge remote-tracking branch 'namada/yuji/no-empty-dir' (#757) into main
Browse files Browse the repository at this point in the history
* namada/yuji/no-empty-dir:
  create no empty dir before renaming
  • Loading branch information
juped committed Nov 14, 2022
2 parents 899debf + 9da4d97 commit 313eaf3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/src/lib/client/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,6 @@ pub fn init_network(
let temp_validator_chain_dir =
validator_dir.join(temp_chain_id.as_str());
let validator_chain_dir = validator_dir.join(&chain_id.as_str());
fs::create_dir_all(&validator_chain_dir)
.expect("Couldn't create validator directory");
// Rename the generated directories for validators from `temp_chain_id`
// to `chain_id`
std::fs::rename(&temp_validator_chain_dir, &validator_chain_dir)
Expand Down

0 comments on commit 313eaf3

Please sign in to comment.