Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13993884
D7788.id17630.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.id17630.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
Thu, Oct 24, 2:02 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6732314
Default Alt Text
D7788.id17630.diff (810 B)
Attached To
Mode
D7788: Improve `arc lint --output summary`
Attached
Detach File
Event Timeline
Log In to Comment