fix mutiple metrics

This commit is contained in:
Filip Gralinski 2018-06-08 22:15:49 +02:00
parent 32f0d1eb12
commit d7c656217f
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ checkOrInsertEvaluation repoDir chan out = do
rawEval :: FilePath -> Metric -> FilePath -> Text -> IO (Either GEvalException (Either (ParserResult GEvalOptions) (GEvalOptions, Maybe [MetricValue]))) rawEval :: FilePath -> Metric -> FilePath -> Text -> IO (Either GEvalException (Either (ParserResult GEvalOptions) (GEvalOptions, Maybe [MetricValue])))
rawEval challengeDir metric repoDir name = Import.try (runGEvalGetOptions [ rawEval challengeDir metric repoDir name = Import.try (runGEvalGetOptions [
"--metric", (show metric), "--alt-metric", (show metric),
"--expected-directory", challengeDir, "--expected-directory", challengeDir,
"--out-directory", repoDir, "--out-directory", repoDir,
"--test-name", (T.unpack name)]) "--test-name", (T.unpack name)])