1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-02 09:58:23 +01:00

Add description to json output

Summary:
Adds a 'desc' field to json output so I can use that inside my vim
plugin.

Test Plan:
Lint a few things.  Description text shows up in vim

Reviewers: epriestley

Reviewed By: epriestley

Differential Revision: 1210
This commit is contained in:
Jack Lindamood 2011-12-14 12:31:45 -08:00
parent f1a2d58343
commit 02ed14e31e

View file

@ -44,6 +44,7 @@ class ArcanistLintJSONRenderer {
$message->getLine() - self::LINES_OF_CONTEXT, $message->getLine() - self::LINES_OF_CONTEXT,
self::LINES_OF_CONTEXT * 2 + 1 self::LINES_OF_CONTEXT * 2 + 1
)), )),
'description' => $message->getDescription(),
); );
} }