From 61c85f435bd885c82dbc5fdb0cfd5080c25aba7a Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 17:05:49 +0000 Subject: [PATCH] chore: apply automated updates --- app/modules/content/source.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/modules/content/source.mjs b/app/modules/content/source.mjs index c063956..63a48f7 100644 --- a/app/modules/content/source.mjs +++ b/app/modules/content/source.mjs @@ -28,7 +28,9 @@ export default (opts) => { // Automd transform if (opts.docsConfig.automd) { if (key.endsWith('.md') && typeof val === 'string') { - if (!automdConfig) { automdConfig = await loadConfig(opts.docsConfig.dir, opts.docsConfig.automd) } + if (!automdConfig) { + automdConfig = await loadConfig(opts.docsConfig.dir, opts.docsConfig.automd) + } const res = await transform(val, automdConfig) if (res.hasChanged) { _fs.setItem(key, res.contents).catch(console.error)