on master help sign in
Fix typo
a6000a7Alexandre Esteves
lib/cliapp/src/Obelisk/CliApp/Process.hs+2−2
@@ -128,10 +128,10 @@ readCreateProcessWithExitCode procSpec = do
128-- | Like `System.Process.readProcess` but logs the combined output (stdout and stderr)
128-- | Like `System.Process.readProcess` but logs the combined output (stdout and stderr)
129-- with the corresponding severity.
129-- with the corresponding severity.
130--
130--
131−-- Usually this function is called as `callProcessAndLogOutput (Debug, Error)`. However
131+-- Usually this function is called as `readProcessAndLogOutput (Debug, Error)`. However
132-- some processes are known to spit out diagnostic or informative messages in stderr, in
132-- some processes are known to spit out diagnostic or informative messages in stderr, in
133-- which case it is advisable to call it with a non-Error severity for stderr, like
133-- which case it is advisable to call it with a non-Error severity for stderr, like
134−-- `callProcessAndLogOutput (Debug, Debug)`.
134+-- `readProcessAndLogOutput (Debug, Debug)`.
135readProcessAndLogOutput
135readProcessAndLogOutput
136 :: (MonadIO m, CliLog m, CliThrow e m, AsProcessFailure e, MonadFail m)
136 :: (MonadIO m, CliLog m, CliThrow e m, AsProcessFailure e, MonadFail m)
137 => (Severity, Severity) -> ProcessSpec -> m Text
137 => (Severity, Severity) -> ProcessSpec -> m Text