Page MenuHomePhabricator

Fix `ArcanistLesscLinter::getVersion` function.
ClosedPublic

Authored by joshuaspence on Jun 11 2014, 2:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 26, 8:37 PM
Unknown Object (File)
Mon, Sep 23, 1:17 AM
Unknown Object (File)
Wed, Sep 18, 7:00 PM
Unknown Object (File)
Wed, Sep 18, 6:57 PM
Unknown Object (File)
Wed, Sep 18, 6:57 PM
Unknown Object (File)
Wed, Sep 18, 6:21 PM
Unknown Object (File)
Aug 31 2024, 12:07 PM
Unknown Object (File)
Aug 25 2024, 9:33 PM
Subscribers

Details

Summary

This ArcanistLesscLinter::getCacheVersion should have been renamed to getVersion as of D8971, but wasn't updated.

Also fix the regex to properly capture version information.

Test Plan

It's pretty difficult to test this stuff.... I have an idea that I will submit a separate diff for.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Fix `ArcanistLesscLinter::getVersion` function..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

Just bumping this because it is an easy fix and I want to clear some things from my queue.

As an aside, I was thinking that arc linters --verbose should (maybe) show the version number of all installed external linters, rather than just the configured ones.

epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 15 2014, 6:49 PM