Skip to content

Commit

Permalink
Make output config files pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsanchezq committed Jul 3, 2020
1 parent 199b8ef commit 140b4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vit-servicing-station-lib/src/server/settings/config.rs
Expand Up @@ -176,7 +176,7 @@ pub fn dump_settings_to_file(
) -> Result<(), serde_json::Error> {
let f = fs::File::create(file_path)
.unwrap_or_else(|e| panic!("Error opening file {}: {}", file_path, e));
serde_json::to_writer(&f, settings)
serde_json::to_writer_pretty(&f, settings)
}

#[cfg(test)]
Expand Down

0 comments on commit 140b4f0

Please sign in to comment.