Bug
- Fixed Config.cpp so that it doesn't JSON encode a default rc file, and in so doing, bork the format.
This commit is contained in:
@@ -552,7 +552,7 @@ void Config::createDefaultRC (const std::string& rc, const std::string& data)
|
||||
<< "\n";
|
||||
|
||||
// Write out the new file.
|
||||
if (! File::write (rc, json::encode (contents.str ())))
|
||||
if (! File::write (rc, contents.str ()))
|
||||
throw format (STRING_CONFIG_BAD_WRITE, rc);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user