Update utils.dart (#4364)

This commit is contained in:
Devon Carew 2016-06-03 13:21:16 -07:00
parent 7ae584bc02
commit 26076d9efd

View File

@ -11,11 +11,11 @@ import 'package:path/path.dart' as path;
bool get isRunningOnBot {
// https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
// CHROME_HEADLESS is one property set on Flutter's Chrome Infra bots.
return
Platform.environment['TRAVIS'] == 'true' ||
Platform.environment['CONTINUOUS_INTEGRATION'] == 'true' ||
// CHORME_HEADLESS is one property set on Flutter's Chrome Infra bots.
Platform.environment['CHORME_HEADLESS'] == '1';
Platform.environment['CHROME_HEADLESS'] == '1';
}
String hex(List<int> bytes) {