Skip to content

Commit

Permalink
fixup! feat(synthetic-chain): Propagate environment variable SLOGFILE…
Browse files Browse the repository at this point in the history
… into containers
  • Loading branch information
gibson042 committed Nov 10, 2024
1 parent fbdb627 commit bed0caf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/synthetic-chain/src/cli/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"`);
Expand Down

0 comments on commit bed0caf

Please sign in to comment.