mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 23:46:42 +02:00
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:
parent
f18390ee79
commit
97ef13a1b1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue