Skip to content

Commit 32be743

Browse files
committed
un-pretty toml state file
1 parent 1393e23 commit 32be743

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl State {
131131
let mut fpb = tokio::fs::OpenOptions::new();
132132
let fpb = fpb.create(true).write(true);
133133
let mut fp = fpb.open(&path_tmp).await?;
134-
let state_str = toml::to_string_pretty(&self)?;
134+
let state_str = toml::to_string(&self)?;
135135
fp.write_all(state_str.as_bytes()).await?;
136136
fp.sync_data().await?;
137137
mem::drop(fp);

0 commit comments

Comments
 (0)