There was an error while loading. Please reload this page.
1 parent 1393e23 commit 32be743Copy full SHA for 32be743
1 file changed
src/config.rs
@@ -131,7 +131,7 @@ impl State {
131
let mut fpb = tokio::fs::OpenOptions::new();
132
let fpb = fpb.create(true).write(true);
133
let mut fp = fpb.open(&path_tmp).await?;
134
- let state_str = toml::to_string_pretty(&self)?;
+ let state_str = toml::to_string(&self)?;
135
fp.write_all(state_str.as_bytes()).await?;
136
fp.sync_data().await?;
137
mem::drop(fp);
0 commit comments