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