Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
maralorn committed Nov 28, 2024
1 parent bed055c commit 980a31a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ runMonitoredCommand config process_config = do
Process.setStdout Process.createPipe
. Process.setStderr Process.createPipe
$ process_config
Exception.handle ((ExitFailure 1 <$) . printIOException) $
Process.withProcessWait process_config_with_handles \process -> do
Exception.handle ((ExitFailure 1 <$) . printIOException)
$ Process.withProcessWait process_config_with_handles \process -> do
void $ monitorHandle @NixJSONMessage config (Process.getStderr process)
exitCode <- Process.waitExitCode process
output <- ByteString.hGetContents (Process.getStdout process)
Expand Down

0 comments on commit 980a31a

Please sign in to comment.