Skip to content

Commit 2be1209

Browse files
authored
Merge pull request #3395 from IntersectMBO/cluster_running_truthy
fix(regression): use is_truthy to check KEEP_CLUSTERS_RUNNING
2 parents 229b0cc + e2e8094 commit 2be1209

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/regression.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ nix develop --accept-flake-config .#testenv --command bash -c '
279279
280280
# Don't stop cluster instances just yet if KEEP_CLUSTERS_RUNNING is set to 1.
281281
# After any key is pressed, resume this script and stop all running cluster instances.
282-
if [ "${KEEP_CLUSTERS_RUNNING:-}" = 1 ]; then
282+
if is_truthy "${KEEP_CLUSTERS_RUNNING:-}"; then
283283
echo
284284
echo "KEEP_CLUSTERS_RUNNING is set, leaving clusters running until any key is pressed."
285285
echo "Press any key to continue..."

0 commit comments

Comments
 (0)