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(-) (limited to 'src') diff --git a/src/util/find.js b/src/util/find.js index aef3d3b..1cbeb82 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 a1e880e..0c16dc8 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