Skip to content

Commit eb40f72

Browse files
stainless-botstainless-app[bot]
authored andcommitted
chore(internal): refactor release environment script (#290)
1 parent eb32cea commit eb40f72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/check-release-environment

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ if [ -z "${PYPI_TOKEN}" ]; then
66
errors+=("The FINCH_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
77
fi
88

9-
len=${#errors[@]}
9+
lenErrors=${#errors[@]}
1010

11-
if [[ len -gt 0 ]]; then
11+
if [[ lenErrors -gt 0 ]]; then
1212
echo -e "Found the following errors in the release environment:\n"
1313

1414
for error in "${errors[@]}"; do

0 commit comments

Comments
 (0)