Skip to content

Commit

Permalink
Add special case for cleaning up Gemini 1a data on purging
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Jun 7, 2022
1 parent 5cc4ca6 commit 9b6ef50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/subspace-node/src/bin/subspace-node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@ fn main() -> Result<(), Error> {
.join("chains")
.join("subspace_test"),
);
let _ = std::fs::remove_dir_all(
base_dir
.join("subspace-node")
.join("chains")
.join("subspace_gemini_1a"),
);
}

let runner = cli.create_runner(&cmd.base)?;
Expand Down

0 comments on commit 9b6ef50

Please sign in to comment.