Skip to content

Commit

Permalink
Do not indent JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Oct 5, 2023
1 parent 0c396b5 commit c4752b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/BaseJsonManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Result<> BaseJsonManager::load() {
}

Result<> BaseJsonManager::save() {
std::string savedStr = m_json.dump();
std::string savedStr = m_json.dump(json::NO_INDENTATION);

auto res2 = utils::file::writeString(Mod::get()->getSaveDir() / m_filename, savedStr);
if (!res2) {
Expand Down

0 comments on commit c4752b4

Please sign in to comment.