diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-06-12 17:25:03 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2021-06-12 17:25:03 -0300 |
commit | d6ee377cd9b45075a62c9f89c931250623324742 (patch) | |
tree | 9ee4d8b92ae1bd58b561f14eaf0e0f013e6793f2 /src | |
parent | ffb9bfd2a8c33f25a19b3b74f1204a5fad575108 (diff) |
more missing log util imports!
Diffstat (limited to 'src')
-rw-r--r-- | src/util/find.js | 4 | ||||
-rw-r--r-- | src/util/replacer.js | 2 |
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) { |