From 37745160338a585695ebfd7f859ffe01b036b01e Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Fri, 18 Sep 2020 16:52:18 +0300 Subject: [PATCH] clean-up: Main --- main/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Main.hs b/main/Main.hs index 6077401..78a3d18 100644 --- a/main/Main.hs +++ b/main/Main.hs @@ -59,7 +59,7 @@ main = do Just path -> mapM_ (processFile opts) =<< (lines <$> liftIO (readFile path)) Nothing -> case filePaths opts of - [] -> withNixContext Nothing $ Repl.main + [] -> withNixContext Nothing Repl.main ["-"] -> handleResult opts Nothing . parseNixTextLoc