« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/find.js4
-rw-r--r--src/util/replacer.js2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/util/find.js b/src/util/find.js
index aef3d3bc..1cbeb82c 100644
--- a/src/util/find.js
+++ b/src/util/find.js
@@ -1,3 +1,7 @@
+import {
+    logWarn
+} from './cli.js';
+
 function findHelper(keys, dataProp, findFn) {
     return (ref, {wikiData}) => {
         if (!ref) return null;
diff --git a/src/util/replacer.js b/src/util/replacer.js
index a1e880ef..0c16dc8b 100644
--- a/src/util/replacer.js
+++ b/src/util/replacer.js
@@ -1,5 +1,5 @@
 import find from './find.js';
-import {logError} from './cli.js';
+import {logError, logWarn} from './cli.js';
 import {escapeRegex} from './sugar.js';
 
 export function validateReplacerSpec(replacerSpec, link) {