Page MenuHomePhabricator

Improve behavior for detecting the failure to parse external linter output
ClosedPublic

Authored by joshuaspence on Jan 11 2015, 9:30 AM.
Tags
None
Referenced Files
F13222179: D11321.diff
Sun, May 19, 3:25 AM
F13219717: D11321.id.diff
Sat, May 18, 8:15 PM
F13215511: D11321.id31252.diff
Fri, May 17, 5:52 PM
F13204723: D11321.diff
Wed, May 15, 12:53 AM
F13187832: D11321.diff
Sat, May 11, 4:46 AM
Unknown Object (File)
Tue, May 7, 7:57 AM
Unknown Object (File)
Fri, May 3, 7:41 AM
Unknown Object (File)
Apr 25 2024, 1:40 AM
Subscribers

Details

Summary

Currently, a lot of ArcanistExternalLinter subclasses have something like this:

if ($err && !$messages) {
  return false;
}

We can avoid this code duplication by moving this check to the ArcanistExternalLinter class.

Test Plan

arc unit

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Improve behavior for detecting.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence retitled this revision from Improve behavior for detecting to Improve behavior for detecting the failure to parse external linter output.Jan 11 2015, 7:55 PM
joshuaspence edited edge metadata.
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 20 2015, 2:02 PM
This revision was automatically updated to reflect the committed changes.