mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Update utils.dart (#4364)
This commit is contained in:
parent
7ae584bc02
commit
26076d9efd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user