correct config file name
This commit is contained in:
@@ -11,12 +11,9 @@ logger.info("Starting intialization...");
|
|||||||
|
|
||||||
const configsFolder = process.env.CONFIGS_PATH || "./";
|
const configsFolder = process.env.CONFIGS_PATH || "./";
|
||||||
|
|
||||||
const fileContent = await readFile(
|
const fileContent = await readFile(join(configsFolder, "config.json"), {
|
||||||
join(configsFolder, "efibootmgr.config.json"),
|
encoding: "utf8",
|
||||||
{
|
}).catch((e) => {
|
||||||
encoding: "utf8",
|
|
||||||
},
|
|
||||||
).catch((e) => {
|
|
||||||
throw new Error("Error while reading config!", { cause: e });
|
throw new Error("Error while reading config!", { cause: e });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user