From fafec01fe3a58f54799d33d99dfdebf4003c2e08 Mon Sep 17 00:00:00 2001 From: NotThorny <107363768+NotThorny@users.noreply.github.com> Date: Fri, 14 Nov 2025 02:45:24 -0700 Subject: [PATCH] Fix not loading old configs from correct dir --- src/utils/configuration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/configuration.ts b/src/utils/configuration.ts index 1b92844..c445b93 100644 --- a/src/utils/configuration.ts +++ b/src/utils/configuration.ts @@ -182,7 +182,7 @@ async function readConfigFile() { const cfg = JSON.parse(raw) // Switch file to config-specified profile let pf = cfg['profile'] - if (pf != 'default') { + if (pf && pf != 'default') { const pff = pf pf = 'profiles/' + pff + '.json' } else {