Skip to content

Commit

Permalink
resolved syntax around if condition to check if variable empty
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveW-STFC committed Oct 3, 2024
1 parent 3e71e44 commit 88c5e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr_check_copies.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ curr_env=$2
comp_env=$3
comp_env2=$4

if [[ -z $4]]; then
if [[ -z $4 ]]; then
compare_files "$1" "${path/$curr_env/"$comp_env"}"
else
compare_files "$1" "${path/$curr_env/"$comp_env"}" "${path/$curr_env/"$comp_env2"}"
Expand Down

0 comments on commit 88c5e3b

Please sign in to comment.