1
1
mirror of https://github.com/github/semantic.git synced 2025-01-02 20:41:38 +03:00

remove arg

This commit is contained in:
joshvera 2018-04-06 13:18:47 -04:00
parent 2e064a034c
commit eccfcd1b5e

View File

@ -47,7 +47,7 @@ import qualified Language.Ruby.Assignment as Ruby
import qualified Language.TypeScript.Assignment as TypeScript
-- Ruby
evalRubyProject path = runEvaluatingWithPrelude rubyParser ["rb"]
evalRubyProject = runEvaluatingWithPrelude rubyParser ["rb"]
evalRubyFile path = runEvaluating <$> (withPrelude <$> parsePrelude rubyParser <*> (evaluateModule <$> parseFile rubyParser Nothing path))
evalRubyProjectGraph path = runAnalysis @(ImportGraphing (BadModuleResolutions (BadVariables (BadValues (Quietly (Evaluating (Located Precise Ruby.Term) Ruby.Term (Value (Located Precise Ruby.Term)))))))) <$> (withPrelude <$> parsePrelude rubyParser <*> (evaluatePackageBody <$> parseProject rubyParser ["rb"] path))