From d7c656217f47c1ba1bbba6f24070d929e5db1f30 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Fri, 8 Jun 2018 22:15:49 +0200 Subject: [PATCH] fix mutiple metrics --- Handler/ShowChallenge.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Handler/ShowChallenge.hs b/Handler/ShowChallenge.hs index 29c0927..7373e9e 100644 --- a/Handler/ShowChallenge.hs +++ b/Handler/ShowChallenge.hs @@ -348,7 +348,7 @@ checkOrInsertEvaluation repoDir chan out = do rawEval :: FilePath -> Metric -> FilePath -> Text -> IO (Either GEvalException (Either (ParserResult GEvalOptions) (GEvalOptions, Maybe [MetricValue]))) rawEval challengeDir metric repoDir name = Import.try (runGEvalGetOptions [ - "--metric", (show metric), + "--alt-metric", (show metric), "--expected-directory", challengeDir, "--out-directory", repoDir, "--test-name", (T.unpack name)])