Skip to content

Commit

Permalink
chore: Fix missing quotes in common.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Sep 17, 2024
1 parent e2606fe commit 4472c21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/run-script/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function requireSCSastSession {
# Function to determine whether appversion/release setup is enabled. Setup
# is enabled if any of the SETUP variables is set.
function doSetup {
[[ "${DO_SETUP}" == "true" || -n "${SETUP_ACTION}" || -n "${SETUP_EXTRA_OPTS} ]]
[[ "${DO_SETUP}" == "true" || -n "${SETUP_ACTION}" || -n "${SETUP_EXTRA_OPTS}" ]]
}

#############################################################################
Expand All @@ -274,14 +274,14 @@ function doPRComment {
# Function to determine whether PR comments should be generated. Job summary
# is enabled if any of the JOB_SUMMARY variables is set.
function doJobSummary {
[[ "${DO_JOB_SUMMARY}" == "true" || -n "${JOB_SUMMARY_ACTION}" || -n "${JOB_SUMMARY_EXTRA_OPTS} ]]
[[ "${DO_JOB_SUMMARY}" == "true" || -n "${JOB_SUMMARY_ACTION}" || -n "${JOB_SUMMARY_EXTRA_OPTS}" ]]
}

#############################################################################
# Function to determine whether policy check should be run. Policy checks
# are enabled if any of the POLICY_CHECK variables is set.
function doPolicyCheck {
[[ "${DO_POLICY_CHECK}" == "true" || -n "${POLICY_CHECK_ACTION}" || -n "${POLICY_CHECK_EXTRA_OPTS} ]]
[[ "${DO_POLICY_CHECK}" == "true" || -n "${POLICY_CHECK_ACTION}" || -n "${POLICY_CHECK_EXTRA_OPTS}" ]]
}

#############################################################################
Expand Down

0 comments on commit 4472c21

Please sign in to comment.