From bed0cafcc33b5be6ac43dc70c402bcfac09c4a17 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Sat, 9 Nov 2024 22:58:45 -0500 Subject: [PATCH] fixup! feat(synthetic-chain): Propagate environment variable SLOGFILE into containers --- packages/synthetic-chain/src/cli/run.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/synthetic-chain/src/cli/run.ts b/packages/synthetic-chain/src/cli/run.ts index d454121c..cccf4811 100755 --- a/packages/synthetic-chain/src/cli/run.ts +++ b/packages/synthetic-chain/src/cli/run.ts @@ -10,7 +10,8 @@ import { ProposalInfo, imageNameForProposal } from './proposals.js'; * @param {typeof process.env} env environment variables * @returns {string[]} docker run options */ -const propagateSlogfile = ({ SLOGFILE }) => { +const propagateSlogfile = env => { + const { SLOGFILE } = env; if (!SLOGFILE) return []; execSync(`touch "$SLOGFILE"`);