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
F15505811: D11321.diff
Tue, Apr 15, 6:04 AM
F15480447: D11321.diff
Tue, Apr 8, 2:08 PM
F15457854: D11321.diff
Sun, Mar 30, 7:27 PM
F15441215: D11321.id31252.diff
Wed, Mar 26, 4:56 PM
F15393142: D11321.id.diff
Mar 15 2025, 7:57 PM
F15392701: D11321.id31252.diff
Mar 15 2025, 5:07 PM
F15391780: D11321.id27192.diff
Mar 15 2025, 11:35 AM
F15391398: D11321.id.diff
Mar 15 2025, 9:42 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
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 6198
Build 6219: [Placeholder Plan] Wait for 30 Seconds

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.