« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data/things/language.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/things/language.js b/src/data/things/language.js
index 724448d8..b7841ace 100644
--- a/src/data/things/language.js
+++ b/src/data/things/language.js
@@ -243,12 +243,12 @@ export class Language extends Thing {
 
     withAggregate({message: `Errors in options for string "${key}"`}, ({push}) => {
       if (!empty(missingOptionNames)) {
-        const names = missingOptionNames.join(`, `);
+        const names = Array.from(missingOptionNames).join(`, `);
         push(new Error(`Missing options: ${names}`));
       }
 
       if (!empty(misplacedOptionNames)) {
-        const names = misplacedOptionNames.join(`, `);
+        const names = Array.from(misplacedOptionNames).join(`, `);
         push(new Error(`Unexpected options: ${names}`));
       }
     });