Skip to content

Commit

Permalink
properly parse bool
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance committed Aug 21, 2024
1 parent 0f4e914 commit 0c6c817
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ async function generateCoreChainsToMonitor() {
}

// don't need to monitor arbOne chain in case of retryable-monitoring
const chains = process.env.INCLUDE_ARB_ONE_AS_CORE_CHAIN
? [arbOneChain, novaChain]
: [novaChain]
const chains =
process.env.INCLUDE_ARB_ONE_AS_CORE_CHAIN === 'true'
? [arbOneChain, novaChain]
: [novaChain]

// make the chain data compatible with that required by the monitoring script
const coreChainsToMonitor = chains.map(coreChain =>
Expand Down

0 comments on commit 0c6c817

Please sign in to comment.