Commit 868a4b18 authored by Eric Seidel's avatar Eric Seidel

Merge pull request #4331 from eseidelGoogle/infra_is_bot

Don't send usage information on Chrome infra bots
parents 309b9f80 4c86b730
......@@ -13,7 +13,9 @@ bool get isRunningOnBot {
// https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
return
Platform.environment['TRAVIS'] == 'true' ||
Platform.environment['CONTINUOUS_INTEGRATION'] == 'true';
Platform.environment['CONTINUOUS_INTEGRATION'] == 'true' ||
// CHORME_HEADLESS is one property set on Flutter's Chrome Infra bots.
Platform.environment['CHORME_HEADLESS'] == '1';
}
String hex(List<int> bytes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment