diff --git a/.github/workflows/scraper.yml b/.github/workflows/scraper.yml index 8f1631c..1b6d112 100644 --- a/.github/workflows/scraper.yml +++ b/.github/workflows/scraper.yml @@ -119,7 +119,7 @@ jobs: run: | git config --global user.name "Quatalog Updater" git config --global user.email "github_actions@quatalog.com" - git add courses searchable_catalog.json + git add courses searchable_catalog.json courses_list.json git commit -m "$(date)" || exit 0 git push diff --git a/src/GenerateHtml.cpp b/src/GenerateHtml.cpp index 6e451a8..2e237f3 100644 --- a/src/GenerateHtml.cpp +++ b/src/GenerateHtml.cpp @@ -130,7 +130,7 @@ int main(const int argc, outWriter->write(courses_list,&courses_list_file); searchable_catalog_file.close(); - courses_list.close(); + courses_list_file.close(); } std::unordered_set get_all_courses(const quatalog_data_t& qlog) {