This is an automated email from the ASF dual-hosted git repository.

aw pushed a commit to branch YETUS-1034-release
in repository https://gitbox.apache.org/repos/asf/yetus.git


The following commit(s) were added to refs/heads/YETUS-1034-release by this 
push:
     new 985dd52  YETUS-1064. buf does not generate annotations (addendum) 
(#192)
985dd52 is described below

commit 985dd52bbf93fe9df1845cd4e4334790bfe1f462
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

Reply via email to