Skip to content

Commit

Permalink
windsock: fix directory delete that may not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Oct 6, 2023
1 parent 22f27be commit 510ab50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windsock-cloud-docker/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ AWS_ACCESS_KEY_ID={access_key_id} AWS_SECRET_ACCESS_KEY={secret_access_key} CARG

// extract windsock results
let local_windsock_data = root.join("target").join("windsock_data");
std::fs::remove_dir_all(&local_windsock_data).unwrap();
std::fs::remove_dir_all(&local_windsock_data).ok();
docker(&[
"cp",
"windsock-cloud:/target/windsock_data",
Expand Down

0 comments on commit 510ab50

Please sign in to comment.