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. );