Skip to content

Commit

Permalink
Update release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tbsklg committed Aug 18, 2024
1 parent 6dcaa49 commit 10c0b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli-client/src/local_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use serde_json::{json, Value};
pub fn add_strike(name: &str, db_path: &std::path::PathBuf) -> Value {
let db = std::fs::read_to_string(db_path).unwrap_or_else(|_| json!({}).to_string());
let updated_db = update_strikes(name, serde_json::from_str(&db).unwrap());

if !db_path.exists() {
std::fs::create_dir_all(db_path.parent().unwrap()).unwrap();
}
Expand Down

0 comments on commit 10c0b41

Please sign in to comment.