Skip to content

Commit

Permalink
fix(plugins): 🐛 fixed perseus tinker deleting .perseus/ without r…
Browse files Browse the repository at this point in the history
…ecreating it
  • Loading branch information
arctic-hen7 committed Oct 17, 2021
1 parent 827bf82 commit 0e9bed5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/perseus-cli/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ fn core(dir: PathBuf) -> Result<i32, Error> {
// This will remove old tinkerings and eliminate any possible corruptions (which are very likely with tinkering!)
if !tinker_opts.no_clean {
delete_bad_dir(dir.clone())?;
// Recreate the '.perseus/' directory
prepare(dir.clone())?;
}
tinker(dir)?
}
Expand Down

0 comments on commit 0e9bed5

Please sign in to comment.