Fix replace new config in file

This commit is contained in:
Timofey Khoruzhii 2022-08-11 21:50:43 +03:00
parent 6decd7bc4b
commit c308f38cea

View file

@ -53,7 +53,7 @@ Config ProjectList::GetNewConfig(
auto path_to_config = config_directory / filename; auto path_to_config = config_directory / filename;
std::ofstream out(path_, std::ios::ate); std::ofstream out(path_, std::ios::app);
out << std::filesystem::current_path() << " " << path_to_config << std::endl; out << std::filesystem::current_path() << " " << path_to_config << std::endl;
out.close(); out.close();