From a3c750a27248233e66ef6e4cf7ac9e5cc26ed2f8 Mon Sep 17 00:00:00 2001 From: Shi-Hao Hong Date: Wed, 9 Oct 2019 16:29:07 -0700 Subject: [PATCH] Improve trailing whitespace message (#42243) --- dev/bots/analyze.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/bots/analyze.dart b/dev/bots/analyze.dart index 3c5f2838df..7971e2dc85 100644 --- a/dev/bots/analyze.dart +++ b/dev/bots/analyze.dart @@ -198,7 +198,7 @@ Future _checkForTrailingSpaces() async { ...changedFiles, ], workingDirectory: flutterRoot, - failureMessage: '${red}Whitespace detected at the end of source code lines.$reset\nPlease remove:', + failureMessage: '${red}Detected trailing whitespace in the file[s] listed above.$reset\nPlease remove them from the offending line[s].', expectNonZeroExit: true, // Just means a non-zero exit code is expected. expectedExitCode: 1, // Indicates that zero lines were found. );