Skip to content

Commit

Permalink
Clarify error message for verify-codegen.sh
Browse files Browse the repository at this point in the history
It currently says to run both `hack/update-codegen.sh` and `hack/update-openapigen.sh`, but `hack/update-codegen.sh` actually calls `hack/update-openapigen.sh`. So let's make the message actually match all that you need to do.

Signed-off-by: Andrew Bayer <[email protected]>
abayer authored and tekton-robot committed Aug 23, 2022
1 parent af52990 commit 2dda9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/verify-codegen.sh
Original file line number Diff line number Diff line change
@@ -52,6 +52,6 @@ if [[ $ret -eq 0 ]]
then
echo "${REPO_ROOT_DIR} up to date."
else
echo "${REPO_ROOT_DIR} is out of date. Please run hack/update-codegen.sh and hack/update-openapigen.sh"
echo "${REPO_ROOT_DIR} is out of date. Please run hack/update-codegen.sh."
exit 1
fi

0 comments on commit 2dda9bf

Please sign in to comment.