diff --git a/infrastructure/zk/src/init.ts b/infrastructure/zk/src/init.ts index 178e78986ee..16b812a9ab7 100644 --- a/infrastructure/zk/src/init.ts +++ b/infrastructure/zk/src/init.ts @@ -74,9 +74,9 @@ export async function init(initArgs: InitArgs = DEFAULT_ARGS) { } } - tomlContent2 = lines.join('\n'); + tomlContent2 = lines2.join('\n'); - fs.writeFileSync(filePath, tomlContent2); + fs.writeFileSync(filePath2, tomlContent2); console.log(`The parameter "${paramName2}" has been updated in the TOML file.`);