Skip to content

Commit

Permalink
fix(devx): delete vendor on cleanup; ignore dir not exists
Browse files Browse the repository at this point in the history
#1515 (comment)

Signed-off-by: Sunghoon Kang <hoon@akuity.io>
  • Loading branch information
Sunghoon Kang committed Mar 7, 2024
1 parent 3ff5df2 commit 8adde4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/codegen/proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ cd "${work_dir}"

function clean() {
echo "Clean up intermediate resources..."
rm -r "${work_dir}/pkg/api/v1alpha1"
rm -r "${work_dir}/pkg/api/v1alpha1" || true
rm -r "${work_dir}/vendor" || true
}

function main() {
Expand Down

0 comments on commit 8adde4e

Please sign in to comment.