We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1942de6 commit caf666fCopy full SHA for caf666f
dev/bots/utils.dart
@@ -12,7 +12,10 @@ import 'package:meta/meta.dart';
12
13
const Duration _quietTimeout = Duration(minutes: 10); // how long the output should be hidden between calls to printProgress before just being verbose
14
15
-final bool hasColor = stdout.supportsAnsiEscapes;
+// If running from LUCI set to False.
16
+final bool isLuci = Platform.environment['LUCI_CI'] == 'True';
17
+final bool hasColor = stdout.supportsAnsiEscapes && !isLuci;
18
+
19
20
final String bold = hasColor ? '\x1B[1m' : ''; // shard titles
21
final String red = hasColor ? '\x1B[31m' : ''; // errors
0 commit comments