diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-03-11 22:44:00 +0100 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-03-11 22:44:00 +0100 |
| commit | 0499f19145f7ff6e20bb9d06b4e5b41cb63baa96 (patch) | |
| tree | 63f13cb7cf1adf03f2b5b6450dc9faf65e574a0a | |
| parent | 44d349e79c7ab3aa1b2fe5dd825b2e756c1d8246 (diff) | |
| -rw-r--r-- | modules/vacancies/vacancies.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/vacancies/vacancies.js b/modules/vacancies/vacancies.js index 3be7af7..0625c74 100644 --- a/modules/vacancies/vacancies.js +++ b/modules/vacancies/vacancies.js @@ -63,6 +63,7 @@ function refreshSite(name) { } function refreshAll() { + if (!fs.existsSync(moddir + "/getters")) return; console.log("[vacancies] Refreshing"); let i = 0; for (let name of fs.readdirSync(moddir + "/getters")) { |
