commit | 72dad8a9d12b7e74c75a5d7b98229fcd216eb283 | [log] [tgz] |
---|---|---|
author | Yury Khmel <khmel@google.com> | Tue Jul 14 23:44:46 2020 -0700 |
committer | Paul Duffin <paulduffin@google.com> | Thu Apr 01 13:17:00 2021 +0100 |
tree | 85c6f5040aeeba42fde5b1385d4922050c1529d4 | |
parent | 7151f51c5ae46ad081c78e5d0ac1b4700bbcf2bc [diff] |
Fix presubmit for hidden api. grep returns 1 for if nothing was found. This fails presubmit hook due to bash handling "set -e" Looks like grep not found is valid case. This fixes this issue by bypassing grep exit code. Test: Locally Bug: 161351699 Merged-In: I39e926a348a0fb8f4040f86034affdb4204faac5 Change-Id: I39e926a348a0fb8f4040f86034affdb4204faac5 (cherry picked from commit e6a5253f1262acce5d8156867ffddc276a706c3d)