« get me outta code hell

data: matchCommentaryEntries -> matchContentEntries - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/yaml.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-04-14 21:30:38 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-16 13:03:15 -0300
commitd755391cbe84ecccb7af1b821fb792868285cb2a (patch)
tree6147cd9588eac9602a80c8ac748af03180ca7956 /src/data/yaml.js
parent3d041361ce5aded863fd8791fb3dd011879a48ef (diff)
data: matchCommentaryEntries -> matchContentEntries
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r--src/data/yaml.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 847489f0..a2c76b45 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -11,8 +11,7 @@ import {colors, ENABLE_COLOR, logInfo, logWarn} from '#cli';
 import {sortByName} from '#sort';
 import Thing from '#thing';
 import thingConstructors from '#things';
-import {matchCommentaryEntries, multipleLyricsDetectionRegex}
-  from '#wiki-data';
+import {matchContentEntries, multipleLyricsDetectionRegex} from '#wiki-data';
 
 import {
   aggregateThrows,
@@ -859,7 +858,7 @@ export function parseContentEntries(thingClass, sourceText, {subdoc}) {
   });
 
   const documents =
-    matchCommentaryEntries(sourceText)
+    matchContentEntries(sourceText)
       .map(matchEntry =>
         withEntries(
           map(matchEntry),