Commit 1cbdf39e authored by Valentin Reis's avatar Valentin Reis

[Refactor] aesthetics

parent affb0e5c
Pipeline #4656 passed with stage
in 27 seconds
......@@ -116,10 +116,6 @@ prepareDaemonShell dargs daemon_out daemon_err nrm_log = do
return $ twoWayPrint daemon_out daemon_err $ inprocWithErr "daemon"
(dargs ++ ["--nrm_log", Text.pack $ encodeString nrm_log])
empty
--twoWayPrint l
--case l of
-- Left out -> output daemon_out $ return out
-- Right err -> output daemon_err $ return err
twoWayPrint :: FilePath -> FilePath -> Shell (Either Line Line) -> IO ()
twoWayPrint outPath errPath s = sh $ do
......@@ -135,4 +131,3 @@ cmdShell manifest app cmd_out cmd_err =
ExitSuccess -> printInfo "cmd has exited successfuly.\n"
ExitFailure n -> die ("cmd failed with exit code " <> repr n <>
" . The application logs are at " <> repr cmd_out <> " " <> repr cmd_err )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment