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"`);