Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
argotest
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Reis
argotest
Commits
1cbdf39e
Commit
1cbdf39e
authored
Dec 14, 2018
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Refactor] aesthetics
parent
affb0e5c
Pipeline
#4656
passed with stage
in 27 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
argotest/src/Argotest.hs
argotest/src/Argotest.hs
+0
-5
No files found.
argotest/src/Argotest.hs
View file @
1cbdf39e
...
@@ -116,10 +116,6 @@ prepareDaemonShell dargs daemon_out daemon_err nrm_log = do
...
@@ -116,10 +116,6 @@ prepareDaemonShell dargs daemon_out daemon_err nrm_log = do
return
$
twoWayPrint
daemon_out
daemon_err
$
inprocWithErr
"daemon"
return
$
twoWayPrint
daemon_out
daemon_err
$
inprocWithErr
"daemon"
(
dargs
++
[
"--nrm_log"
,
Text
.
pack
$
encodeString
nrm_log
])
(
dargs
++
[
"--nrm_log"
,
Text
.
pack
$
encodeString
nrm_log
])
empty
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
::
FilePath
->
FilePath
->
Shell
(
Either
Line
Line
)
->
IO
()
twoWayPrint
outPath
errPath
s
=
sh
$
do
twoWayPrint
outPath
errPath
s
=
sh
$
do
...
@@ -135,4 +131,3 @@ cmdShell manifest app cmd_out cmd_err =
...
@@ -135,4 +131,3 @@ cmdShell manifest app cmd_out cmd_err =
ExitSuccess
->
printInfo
"cmd has exited successfuly.
\n
"
ExitSuccess
->
printInfo
"cmd has exited successfuly.
\n
"
ExitFailure
n
->
die
(
"cmd failed with exit code "
<>
repr
n
<>
ExitFailure
n
->
die
(
"cmd failed with exit code "
<>
repr
n
<>
" . The application logs are at "
<>
repr
cmd_out
<>
" "
<>
repr
cmd_err
)
" . The application logs are at "
<>
repr
cmd_out
<>
" "
<>
repr
cmd_err
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment