]> khamidou — GitHub mirrors - arcanist.git/commit
Fix cpplint message regex
authorJohn Allen <john@interana.com>
Wed, 6 Jan 2016 21:15:09 +0000 (13:15 -0800)
committerepriestley <git@epriestley.com>
Wed, 6 Jan 2016 21:15:09 +0000 (13:15 -0800)
commitaeb374b3334891d436334ac382bb63e2e4620c95
treee2d4b2c4efda76eb5cf14f74b0cb0d7175b351b2
parent98d71571e4445ae99e263f369a8519bc6edc2f72
Fix cpplint message regex

Summary:
ref T8404

The issue is caused, not by the non-zero return code, but by the fact that
$messages is coming back empty due to the incorrect regex. tyhoff pointed out
that the regex matched correctly when we used STDIN, but now it is failing.

https://secure.phabricator.com/diffusion/ARC/browse/master/src/lint/linter/ArcanistExternalLinter.php;8c589f1f759f0913135b8cc6959a6c1589e14ae4$357

Test Plan:
arc lint cpp file containing lint error. run cpplint on the
file directly to confirm that there are errors and that the return code
is non-zero

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Maniphest Tasks: T8404

Differential Revision: https://secure.phabricator.com/D14960
src/lint/linter/ArcanistCpplintLinter.php