diff --git a/vingester-main.js b/vingester-main.js index ae383a0..caa706f 100644 --- a/vingester-main.js +++ b/vingester-main.js @@ -105,8 +105,8 @@ electron.app.on("ready", async () => { { iname: "cfg-sample-obsn.yaml", ename: "Sample-OBSN.yaml" } ] for (const sampleConfig of sampleConfigs) { - let iname = path.join(appPath, sampleConfig.iname) - let ename = path.join(cfgDir, sampleConfig.ename) + const iname = path.join(appPath, sampleConfig.iname) + const ename = path.join(cfgDir, sampleConfig.ename) if (!(await pathExists(ename))) await fs.promises.copyFile(iname, ename) }