Skip to content

Commit

Permalink
Fix extra blank lines in logger output (#81607)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hixie committed May 3, 2021
1 parent 96e4b47 commit 33b183e
Show file tree
Hide file tree
Showing 10 changed files with 317 additions and 216 deletions.
2 changes: 0 additions & 2 deletions packages/flutter_tools/lib/src/android/gradle.dart
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ class AndroidGradleBuilder implements AndroidBuilder {

final Status status = _logger.startProgress(
"Running Gradle task '$assembleTask'...",
multilineOutput: true,
);

final List<String> command = <String>[
Expand Down Expand Up @@ -636,7 +635,6 @@ class AndroidGradleBuilder implements AndroidBuilder {
final String aarTask = getAarTaskFor(buildInfo);
final Status status = _logger.startProgress(
"Running Gradle task '$aarTask'...",
multilineOutput: true,
);

final String flutterRoot = _fileSystem.path.absolute(Cache.flutterRoot);
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_tools/lib/src/base/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ToolExit implements Exception {
final int? exitCode;

@override
String toString() => 'Exception: $message';
String toString() => 'Exception: $message'; // TODO(ianh): Really this should say "Error".
}

/// Indicates to the linter that the given future is intentionally not awaited.
Expand Down
Loading

0 comments on commit 33b183e

Please sign in to comment.