Page MenuHomePhabricator

D7788.id17630.diff
No OneTemporary

D7788.id17630.diff

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

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)

Event Timeline