Skip to content

Commit

Permalink
remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed May 31, 2023
1 parent 3de675e commit 5b11571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push.bash
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if [ -n "${CREATE_VISIBILITY}" ]; then
BUF_HELP_OUTPUT="$("${BUF_COMMAND}" push example --create --help 2>&1)" # need to verify this
set -e
if [[ "${BUF_HELP_OUTPUT}" == *"unknown flag: --create"* ]]; then
fail "The installed version of buf does not support creating repositories. Please use buf v1.19.0 or newer." # TODO: check if it's in 1.19.0 when it's released
fail "The installed version of buf does not support creating repositories. Please use buf v1.19.0 or newer."
fi
if [[ "${CREATE_VISIBILITY}" != "public" && "${CREATE_VISIBILITY}" != "private" ]]; then
fail "Must specify --create-visibility as either 'public' or 'private'"
Expand Down

0 comments on commit 5b11571

Please sign in to comment.