Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F91575
D7788.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
805 B
Referenced Files
None
Subscribers
None
D7788.diff
View Options
diff --git a/src/lint/renderer/ArcanistLintSummaryRenderer.php b/src/lint/renderer/ArcanistLintSummaryRenderer.php
--- a/src/lint/renderer/ArcanistLintSummaryRenderer.php
+++ b/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/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/ld/rn/as3okyxxiipbvs5t
Default Alt Text
D7788.diff (805 B)
Attached To
Mode
D7788: Improve `arc lint --output summary`
Attached
Detach File
Event Timeline
Log In to Comment