Skip to content

Commit

Permalink
Try mkdir?
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem committed Jan 28, 2025
1 parent a941106 commit ca59874
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/src/realization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ impl Realization {
url: url.clone(),
target: git.target.clone(),
};
std::fs::create_dir_all(&self.config.git_package_dir)
.with_path(&self.config.git_package_dir)?;
let tmp_dir = tempfile::tempdir_in(&self.config.git_package_dir)
.with_path(&self.config.git_package_dir)?;
let id = nickel_lang_git::fetch(&spec, tmp_dir.path())?;
Expand Down

0 comments on commit ca59874

Please sign in to comment.