]> khamidou — GitHub mirrors - arcanist.git/commit
canRun should return false on scala linter instead of raising an exception
authorDavid Cramer <dcramer@gmail.com>
Mon, 3 Dec 2012 23:25:16 +0000 (15:25 -0800)
committerepriestley <git@epriestley.com>
Mon, 3 Dec 2012 23:25:28 +0000 (15:25 -0800)
commit0d1d04e434b06ce992b539e60df0aa6c35d738e7
tree540ffd3ffa5f1a255e06dac1276fae7b3397c6dc
parent3602d2aa15fdaa9fc60eb1668d0d0375799927c3
canRun should return false on scala linter instead of raising an exception

Summary:
This was causing the following error in environments that didnt have scala configured:

Some linters failed:
   - ArcanistScalaSBTLinter: ArcanistUsageException: This directory does not appear to be maintained by SBT, as we can't seem to find a working build file (project/Build.scala or build.sbt).

Test Plan: .

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4070
src/lint/linter/ArcanistScalaSBTLinter.php