DescriptionRequire 'CHROME_HEADLESS' to use 'git-number'.
Updated 'git-number' to produce an error message if it's run without the
CHROME_HEADLESS (bot) environment variable. This is intended to alert developers
who may be incorrectly using this tool to get positioning information instead of
the commit position.
BUG=409917
TEST=local
- Ran with and without 'CHROME_HEADLESS'; observed the error message in the
'without' case.
R=iannucci@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=291773
Patch Set 1 #
Total comments: 2
Patch Set 2 : Updated environment check. #Messages
Total messages: 7 (1 generated)
|