« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/upd8.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index db73c412..ff7d7c5c 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -1179,7 +1179,9 @@ async function main() {
     });
 
     const languageDataFiles = await traverse(langPath, {
-      filterFile: name => path.extname(name) === '.json',
+      filterFile: name =>
+        path.extname(name) === '.json' ||
+        path.extname(name) === '.yaml',
       pathStyle: 'device',
     });