git: ac9abe93e832 - main - checkstyle9.pl: Another correction to github workflow
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Feb 2024 06:27:42 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=ac9abe93e83293cb19827a1e6cd898ff40410f47
commit ac9abe93e83293cb19827a1e6cd898ff40410f47
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-02 06:26:38 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-02 06:27:37 +0000
checkstyle9.pl: Another correction to github workflow
Remove extra space...
Sponsored by: Netflix
---
tools/build/checkstyle9.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/build/checkstyle9.pl b/tools/build/checkstyle9.pl
index 65f13bc1e7f2..dd6eb624e0b4 100755
--- a/tools/build/checkstyle9.pl
+++ b/tools/build/checkstyle9.pl
@@ -1182,7 +1182,8 @@ sub report {
$output .= MAGENTA if $do_color && $level eq 'WARNING';
$output .= $level . ':' if !$github;
$output .= RESET if $do_color;
- $output .= ' ' . $msg . "\n";
+ $output .= ' ' if (!$github);
+ $output .= $msg . "\n";
$output = (split('\n', $output))[0] . "\n" if ($terse);