Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15422400
D7788.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
810 B
Referenced Files
None
Subscribers
None
D7788.diff
View Options
Index: src/lint/renderer/ArcanistLintSummaryRenderer.php
===================================================================
--- src/lint/renderer/ArcanistLintSummaryRenderer.php
+++ src/lint/renderer/ArcanistLintSummaryRenderer.php
@@ -11,18 +11,16 @@
$path = $result->getPath();
$text = array();
- $text[] = $path.":";
foreach ($messages as $message) {
$name = $message->getName();
$severity = ArcanistLintSeverity::getStringForSeverity(
$message->getSeverity());
$line = $message->getLine();
- $text[] = " {$severity} on line {$line}: {$name}";
+ $text[] = "{$path}:{$line}:{$severity}: {$name}\n";
}
- $text[] = null;
- return implode("\n", $text);
+ return implode("", $text);
}
public function renderOkayResult() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 23, 7:59 AM (3 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7363977
Default Alt Text
D7788.diff (810 B)
Attached To
Mode
D7788: Improve `arc lint --output summary`
Attached
Detach File
Event Timeline
Log In to Comment