« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things.js4
-rw-r--r--src/data/yaml.js4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/data/things.js b/src/data/things.js
index e2bbfd70..fa7a8d54 100644
--- a/src/data/things.js
+++ b/src/data/things.js
@@ -1798,7 +1798,9 @@ Object.assign(Language.prototype, {
     this.assertIntlAvailable('intl_pluralOrdinal');
     return this.formatString(
       'count.index.' + this.intl_pluralOrdinal.select(value),
-      {index: value}
+      {
+        index: value,
+      }
     );
   },
 
diff --git a/src/data/yaml.js b/src/data/yaml.js
index a4255764..367876be 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -1391,7 +1391,9 @@ export function filterReferenceErrors(wikiData) {
                         const original = find.artist(
                           alias.aliasedArtistRef,
                           wikiData.artistData,
-                          {mode: 'quiet'}
+                          {
+                            mode: 'quiet',
+                          }
                         );
                         throw new Error(
                           `Reference ${color.red(