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
1 changed files with 1 additions and 1 deletions

View File

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