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

aw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yetus.git


The following commit(s) were added to refs/heads/master by this push:
     new b4f147a  YETUS-890. revive plugin is leaking data (#61)
b4f147a is described below

commit b4f147a3e294a649607a0204bcb98cd4aee91ddd
Author: Allen Wittenauer <a...@apache.org>
AuthorDate: Thu May 23 11:19:11 2019 -0700

    YETUS-890. revive plugin is leaking data (#61)
---
 precommit/src/main/shell/test-patch.d/revive.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/precommit/src/main/shell/test-patch.d/revive.sh 
b/precommit/src/main/shell/test-patch.d/revive.sh
index 5486123..4c5ef95 100755
--- a/precommit/src/main/shell/test-patch.d/revive.sh
+++ b/precommit/src/main/shell/test-patch.d/revive.sh
@@ -77,7 +77,7 @@ function revive_exec
 
   for i in "${CHANGED_FILES[@]}"; do
     if [[ ${i} =~ \.go$ && -f ${i} ]]; then
-      "${REVIVE}" "${args[@]}" "${i}" | sort -t : -k1,1 -k2,2n -k3,3n >> 
"${PATCH_DIR}/${repostatus}-revive-result.txt"
+      "${REVIVE}" "${args[@]}" "${i}" 2>&1 | sort -t : -k1,1 -k2,2n -k3,3n -k 
4 >> "${PATCH_DIR}/${repostatus}-revive-result.txt"
     fi
   done
 

Reply via email to