Fix gclient_util after depot_tools changes (fixes issue #2736)

This commit is contained in:
Riku Palomäki 2019-08-05 18:01:14 +00:00 committed by Marshall Greenblatt
parent 91f48c5588
commit cfb4309479
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ def RunAction(dir, command):
command[0] = sys.executable
try:
gclient_utils.CheckCallAndFilterAndHeader(command, cwd=dir, always=True)
gclient_utils.CheckCallAndFilter(
command, cwd=dir, always_show_header=True, print_stdout=True)
except gclient_utils.Error, e:
# Use a discrete exit status code of 2 to indicate that a hook action
# failed. Users of this script may wish to treat hook action failures