summaryrefslogtreecommitdiff
path: root/u/process/run.ts
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2025-05-15 23:39:29 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2025-05-15 23:40:00 -0700
commit1ab20482ab37d7962c8e69701163270e687df3ca (patch)
treef0aaac54f8c23269fdeb2bca6f22e296a9e0559f /u/process/run.ts
parent3a3fb9c8ab0c798a278f76d40de216fa96f6e2c4 (diff)
downloadci-1ab20482ab37d7962c8e69701163270e687df3ca.tar.gz
ci-1ab20482ab37d7962c8e69701163270e687df3ca.zip
more snapshot
Diffstat (limited to 'u/process/run.ts')
-rw-r--r--u/process/run.ts4
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))