Skip to content

Commit

Permalink
Fix init.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ilitteri committed Jan 31, 2024
1 parent 80d4b03 commit b791161
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/zk/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export async function init(initArgs: InitArgs = DEFAULT_ARGS) {
let envFileContent = fs.readFileSync(process.env.ENV_FILE!).toString();
envFileContent += `VALIDIUM_MODE=${validiumMode}\n`;
fs.writeFileSync(process.env.ENV_FILE!, envFileContent);
process.env.VALIDIUM_MODE = validiumMode.toString();
await announced(`Initializing in ${validiumMode ? 'Validium mode' : 'Roll-up mode'}`);

if (!process.env.CI && !skipEnvSetup) {
Expand Down

0 comments on commit b791161

Please sign in to comment.