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
Unknown Object (File)
Wed, Sep 4, 8:19 PM
Unknown Object (File)
Tue, Sep 3, 4:46 AM
Unknown Object (File)
Sat, Aug 31, 4:45 PM
Unknown Object (File)
Aug 27 2024, 2:53 PM
Unknown Object (File)
Aug 26 2024, 11:04 PM
Unknown Object (File)
Aug 25 2024, 5:10 PM
Unknown Object (File)
Aug 25 2024, 12:17 PM
Unknown Object (File)
Aug 25 2024, 5:12 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.