Page MenuHomePhabricator

Change the default value for `ArcanistExternalLinter::shouldExpectCommandErrors`
ClosedPublic

Authored by joshuaspence on Jan 11 2015, 9:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 26, 1:51 PM
Unknown Object (File)
Feb 20 2024, 7:06 PM
Unknown Object (File)
Feb 10 2024, 5:33 AM
Unknown Object (File)
Feb 2 2024, 6:58 AM
Unknown Object (File)
Jan 12 2024, 4:43 AM
Unknown Object (File)
Jan 12 2024, 4:42 AM
Unknown Object (File)
Jan 12 2024, 4:42 AM
Unknown Object (File)
Jan 12 2024, 4:42 AM
Subscribers

Details

Summary

It is more common for linters to exit with a non-zero status than it is for linters to return with a zero exit status, Really this function serves very little purposes, it simply determines whether or not to throw an exception if a non-zero status is returned by the external linter.

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 Change the default value for `ArcanistExternalLinter::shouldExpectCommandErrors`.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

We can delete like 50 subclass implementations, right?

This revision now requires changes to proceed.Jan 11 2015, 4:59 PM
joshuaspence edited edge metadata.

Remove implementation from subclasses

epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 11 2015, 7:57 PM
This revision was automatically updated to reflect the committed changes.