Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5 from Nikaidou-Shinku/dev
Browse files Browse the repository at this point in the history
Release v0.2.3
  • Loading branch information
Nikaidou-Shinku committed Jul 19, 2022
2 parents 3d6e0fe + 4eadd50 commit b0ee6a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ninc"
version = "0.2.2"
version = "0.2.3"
edition = "2021"

[profile.release]
Expand Down
2 changes: 0 additions & 2 deletions src/data/types/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ impl Config {
Ok(config)
}
pub async fn save(&self, path: &str) -> Result<()> {
println!("Here");
let config_str = toml::to_string_pretty(&self)?;
println!("Here");
let file = get_save_path(path);
tokio::fs::write(file, config_str).await?;
Ok(())
Expand Down

0 comments on commit b0ee6a3

Please sign in to comment.