diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5478a0c..a5ff665 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -119,13 +119,10 @@ jobs: module.json \ README.md \ LICENSE \ - templates \ assets/ \ scripts/ \ styles/ \ - packs/ \ - language/ \ - lang/ + languages/ # Don't forget to add a backslash at the end of the line for any # additional files or directories! diff --git a/scripts/minion.js b/scripts/minion.js index 3f57450..e7d97bb 100644 --- a/scripts/minion.js +++ b/scripts/minion.js @@ -69,7 +69,7 @@ export function initializeMinions() { Hooks.on("midi-qol.postCheckSaves", async (workflow) => { if (!lib.getSetting(CONSTANTS.SETTING_KEYS.ENABLE_MINION_SUPER_SAVE)) return; - for (const savedToken in workflow.saves) { + for (const savedToken of workflow.saves) { if (!api.isMinion(savedToken)) continue; workflow.superSavers.add(savedToken); }