fix proto
This commit is contained in:
parent
160c25b05c
commit
b120262482
|
@ -310,9 +310,7 @@ boot = do
|
||||||
-- Reads from stdin and sends it to the first fd;
|
-- Reads from stdin and sends it to the first fd;
|
||||||
-- reads from the second fd and sends it to stdout.
|
-- reads from the second fd and sends it to stdout.
|
||||||
gitPush :: Fd -> Fd -> IO ()
|
gitPush :: Fd -> Fd -> IO ()
|
||||||
gitPush hin hout = do
|
gitPush hin hout = void $ fromstdin `concurrently` tostdout
|
||||||
hPutStrLn stderr $ show ("gitPush", hin, hout)
|
|
||||||
void $ fromstdin `concurrently` tostdout
|
|
||||||
where
|
where
|
||||||
fromstdin = do
|
fromstdin = do
|
||||||
h <- fdToHandle hin
|
h <- fdToHandle hin
|
||||||
|
|
Loading…
Reference in New Issue