Page MenuHomePhabricator

D18711.diff
No OneTemporary

D18711.diff

diff --git a/src/lint/ArcanistLintMessage.php b/src/lint/ArcanistLintMessage.php
--- a/src/lint/ArcanistLintMessage.php
+++ b/src/lint/ArcanistLintMessage.php
@@ -25,8 +25,15 @@
$message = new ArcanistLintMessage();
$message->setPath($dict['path']);
- $message->setLine($dict['line']);
- $message->setChar($dict['char']);
+
+ if (isset($dict['line'])) {
+ $message->setLine($dict['line']);
+ }
+
+ if (isset($dict['char'])) {
+ $message->setChar($dict['char']);
+ }
+
$message->setCode($dict['code']);
$message->setSeverity($dict['severity']);
$message->setName($dict['name']);

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 18, 2:50 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7577576
Default Alt Text
D18711.diff (634 B)

Event Timeline