Skip to content

Commit cec717f

Browse files
committed
explain fromJust use
1 parent 7118274 commit cec717f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shelltest.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ runInteractiveCommandInDir wd cmd = do
215215
, std_in = CreatePipe
216216
, std_out = CreatePipe
217217
, std_err = CreatePipe }
218+
-- these should all be Just since we used CreatePipe
218219
return (fromJust mb_in, fromJust mb_out, fromJust mb_err, p)
219220

220221
hGetContentsStrictlyAnd :: Handle -> (String -> IO b) -> IO b

0 commit comments

Comments
 (0)