mirror of
https://github.com/flutter/packages.git
synced 2025-06-26 03:03:23 +08:00
[tool] Conditionalize color on stdout
(#4436)
Refactors colorization to a centralized utility file, and makes it all conditional on `stdout` having ANSI escape support. This makes the output more readable on LUCI, which unlike the Cirrus log display doesn't handle ANSI. Fixes https://github.com/flutter/flutter/issues/89392
This commit is contained in:
script/tool
lib/src
analyze_command.dartbuild_examples_command.dart
common
create_all_packages_app_command.dartdart_test_command.dartdependabot_check_command.dartdrive_examples_command.dartfederation_safety_check_command.dartfirebase_test_lab_command.dartfix_command.dartformat_command.dartgradle_check_command.dartlicense_check_command.dartlint_android_command.dartmake_deps_path_based_command.dartnative_test_command.dartpodspec_check_command.dartpublish_check_command.dartpublish_command.dartpubspec_check_command.dartreadme_check_command.dartupdate_dependency_command.dartupdate_excerpts_command.dartupdate_min_sdk_command.dartupdate_release_info_command.dartversion_check_command.dartxcode_analyze_command.darttest
@ -9,7 +9,7 @@ import 'package:meta/meta.dart';
|
||||
import 'package:yaml/yaml.dart';
|
||||
import 'package:yaml_edit/yaml_edit.dart';
|
||||
|
||||
import 'common/core.dart';
|
||||
import 'common/output_utils.dart';
|
||||
import 'common/package_looping_command.dart';
|
||||
import 'common/pub_utils.dart';
|
||||
import 'common/repository_package.dart';
|
||||
|
Reference in New Issue
Block a user