This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new dee8b7d YETUS-1064. buf does not generate annotations (addendum)
(#192)
dee8b7d is described below
commit dee8b7d3b89f2fea5cf09a551798cc3f8978e295
Author: Allen Wittenauer <[email protected]>
AuthorDate: Mon Nov 2 07:47:20 2020 -0800
YETUS-1064. buf does not generate annotations (addendum) (#192)
---
precommit/src/main/shell/test-patch.d/buf.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/precommit/src/main/shell/test-patch.d/buf.sh
b/precommit/src/main/shell/test-patch.d/buf.sh
index 23682fb..195b5f8 100755
--- a/precommit/src/main/shell/test-patch.d/buf.sh
+++ b/precommit/src/main/shell/test-patch.d/buf.sh
@@ -58,6 +58,11 @@ function buf_parse_args
BUF_BASEDIR=$(yetus_abs "${BUF_BASEDIR}")
BUF_BASEDIR=$(yetus_relative_dir "${BASEDIR}" "${BUF_BASEDIR}")
fi
+
+ # forcibly setting return 0 because otherwise
+ # return yetus_relative_dir's return value
+ # which breaks things usually
+ return 0
}
function buf_filefilter