Skip to content

Commit 874e4c0

Browse files
committed
fix: update .env generation message in prepare-test-env script
1 parent cebad13 commit 874e4c0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test-stack/prepare-test-env.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ async function createEnvFiles(forkBlockNumber: number) {
3535
console.log('Creating .env file for docker-compose test-stack');
3636
writeFileSync(
3737
'.env',
38-
`############ THIS FILE IS GENERATED ############
39-
# run "npx tsx prepare-test-env.ts" to regenerate #
40-
################################################
41-
42-
# blockchain node to use as the reference for the local fork
43-
FORK_URL=${forkUrl}
44-
# block number to fork from
45-
FORK_BLOCK=${forkBlockNumber}`,
38+
'############ THIS FILE IS GENERATED ############\n' +
39+
'# run "node prepare-test-env.js" to regenerate #\n' +
40+
'################################################\n' +
41+
'\n' +
42+
'# blockchain node to use as the reference for the local fork\n' +
43+
`FORK_URL=${forkUrl}\n` +
44+
'# block number to fork from\n' +
45+
`FORK_BLOCK=${forkBlockNumber}\n`,
4646
);
4747
}
4848

0 commit comments

Comments
 (0)