Skip to content

Commit 7fe8ec3

Browse files
chore(internal): refactor release environment script (#1158)
1 parent 67cfac2 commit 7fe8ec3

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 OPENAI_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)