diff options
Diffstat (limited to 'u/process')
-rw-r--r-- | u/process/run.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/u/process/run.ts b/u/process/run.ts index 670f567..cbf8c65 100644 --- a/u/process/run.ts +++ b/u/process/run.ts @@ -14,8 +14,8 @@ type CommandOutputDecoded = { }; export class ProcessError extends Error {} -export const getStdout = ( - c: ITraceable<Command>, +export const getStdout = <Trace>( + c: ITraceable<Command, Trace>, options: Deno.CommandOptions = {}, ): Promise<IEither<ProcessError, string>> => c.bimap(TraceUtil.withFunctionTrace(getStdout)) |