]> khamidou — GitHub mirrors - arcanist.git/commit
Fix `ArcanistLesscLinter::getVersion` function.
authorJoshua Spence <josh@joshuaspence.com>
Sun, 15 Jun 2014 18:50:15 +0000 (04:50 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 15 Jun 2014 18:50:15 +0000 (04:50 +1000)
commit45c66a1a7b58575782018bc422184a6a17655d02
treeaa953188b1516b057bcd7171b44e0f7a1f02ce78
parentaf8bdb2b94fc631973b41d0a760968b599049ad8
Fix `ArcanistLesscLinter::getVersion` function.

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.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9475
src/lint/linter/ArcanistLesscLinter.php