From d6ee377cd9b45075a62c9f89c931250623324742 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 12 Jun 2021 17:25:03 -0300 Subject: more missing log util imports! --- src/util/find.js | 4 ++++ src/util/replacer.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) { -- cgit 1.3.0-6-gf8a5