From c8a6daf0d8b0f3313e73a2de86555498a1d3733a Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Sun, 16 Nov 2025 16:06:58 +0100 Subject: [PATCH] correct config file name --- src/index.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/index.ts b/src/index.ts index 7d0e12b..79e6820 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,12 +11,9 @@ logger.info("Starting intialization..."); const configsFolder = process.env.CONFIGS_PATH || "./"; -const fileContent = await readFile( - join(configsFolder, "efibootmgr.config.json"), - { - encoding: "utf8", - }, -).catch((e) => { +const fileContent = await readFile(join(configsFolder, "config.json"), { + encoding: "utf8", +}).catch((e) => { throw new Error("Error while reading config!", { cause: e }); });