Skip to content

Commit 918c51f

Browse files
stainless-botmegamanics
authored andcommitted
chore(internal): refactor release environment script (openai#1158)
1 parent 36e4739 commit 918c51f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: 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)