From 349d110deeee509dd9ff7fb95abf621ad6a554e7 Mon Sep 17 00:00:00 2001 From: Chauncey McAskill Date: Fri, 3 Mar 2023 13:13:31 -0500 Subject: [PATCH] Revert merging of `usrconfig` to use `let` declaration --- build/helpers/config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/helpers/config.js b/build/helpers/config.js index e0a478c..3cd8756 100644 --- a/build/helpers/config.js +++ b/build/helpers/config.js @@ -5,9 +5,11 @@ import loconfig from '../../loconfig.json' assert { type: 'json' }; import { merge } from '../utils/index.js'; +let usrconfig; + try { - const usrconfig = await import('../../loconfig.local.json', { - assert: { type: "json" }, + usrconfig = await import('../../loconfig.local.json', { + assert: { type: 'json' }, }); usrconfig = usrconfig.default;