Fix gruntwork file being flushed to root

This commit is contained in:
gsemaj 2021-05-03 18:33:14 -04:00 committed by Gent Semaj
parent d5e65fda3c
commit 2721f21427

View File

@ -1108,7 +1108,7 @@ void TableData::init() {
* Write gruntwork output to file * Write gruntwork output to file
*/ */
void TableData::flush() { void TableData::flush() {
std::ofstream file(settings::GRUNTWORKJSON); std::ofstream file(settings::TDATADIR + settings::GRUNTWORKJSON);
json gruntwork; json gruntwork;
for (auto& pair : RunningSkywayRoutes) { for (auto& pair : RunningSkywayRoutes) {