feature/configv2
prplV 2025-02-06 15:08:16 +03:00
parent e4c3e5f46f
commit 064611823a
2 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
{
"dateOfCreation": "1721381809109",
"dateOfCreation": "1721381809110",
"configServer": "localhost",
"processes": [
{

View File

@ -390,11 +390,10 @@ pub mod v2 {
) -> anyhow::Result<()> {
let mut file = File::create(config_file_path)?;
Ok(
file.write_all(
serde_json::to_string_pretty(current_config)?.as_bytes()
)?
)
file.write_all(
serde_json::to_string_pretty(current_config)?.as_bytes()
)?;
Ok(())
// Ok(())
}
}