clean-up: Main
This commit is contained in:
parent
32cda24f58
commit
3774516033
|
@ -59,7 +59,7 @@ main = do
|
||||||
Just path ->
|
Just path ->
|
||||||
mapM_ (processFile opts) =<< (lines <$> liftIO (readFile path))
|
mapM_ (processFile opts) =<< (lines <$> liftIO (readFile path))
|
||||||
Nothing -> case filePaths opts of
|
Nothing -> case filePaths opts of
|
||||||
[] -> withNixContext Nothing $ Repl.main
|
[] -> withNixContext Nothing Repl.main
|
||||||
["-"] ->
|
["-"] ->
|
||||||
handleResult opts Nothing
|
handleResult opts Nothing
|
||||||
. parseNixTextLoc
|
. parseNixTextLoc
|
||||||
|
|
Loading…
Reference in New Issue