Don't show ".gitcookies have credentials" if no creds
Running `git cl creds-check` without any credentials will show: ``` Your .gitcookies have credentials for these hosts: No Git/Gerrit credentials found ``` The first line of the output should not assume that there are hosts. Don't show this line if credentials are not found. Change-Id: Ie6eba3518f4b270eef5fbe0c51b4494762a3aef4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5663779 Reviewed-by: Scott Lee <ddoman@chromium.org> Auto-Submit: Gavin Mak <gavinmak@google.com> Commit-Queue: Scott Lee <ddoman@chromium.org>changes/79/5663779/5
parent
280b823136
commit
ea802a77b7
Loading…
Reference in New Issue