File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -520,13 +520,13 @@ readProcessWithOutputFile l work_dir fp args = withSystemTempFile "bios-output"
520
520
let process = (proc fp args) { cwd = Just work_dir
521
521
, env = Just ((" HIE_BIOS_OUTPUT" , output_file) : old_env)
522
522
}
523
- loggingConduit = (C. decodeUtf8 C. .| C. lines C. .| C. map unpack C. .| C. iterM l C. .| C. sinkList)
523
+ -- Windows line endings are not converted so you have to filter out `'r` characters
524
+ loggingConduit = (C. decodeUtf8 C. .| C. lines C. .| C. filterE (/= ' \r ' ) C. .| C. map unpack C. .| C. iterM l C. .| C. sinkList)
524
525
(ex, stdo, stde) <- sourceProcessWithStreams process mempty loggingConduit loggingConduit
525
526
! res <- force <$> hGetContents h
526
527
return (ex, stdo, stde, lines res)
527
528
528
529
529
-
530
530
makeCradleResult :: (ExitCode , [String ], [String ]) -> [FilePath ] -> CradleLoadResult ComponentOptions
531
531
makeCradleResult (ex, err, gopts) deps =
532
532
case ex of
You can’t perform that action at this time.
0 commit comments