Skip to content

Commit

Permalink
create_dir_all
Browse files Browse the repository at this point in the history
  • Loading branch information
joepetrowski committed Apr 15, 2024
1 parent af26d44 commit bd1fcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ pub(crate) fn parse_inputs(prefs: UpgradeArgs) -> UpgradeDetails {
// Create a directory into which to place runtime blobs and the final call data.
fn make_version_directory(dir_name: &str) {
if !Path::new(dir_name).is_dir() {
fs::create_dir(dir_name).expect("it makes a dir");
fs::create_dir_all(dir_name).expect("it makes a dir");
}
}

Expand Down

0 comments on commit bd1fcaf

Please sign in to comment.