Download mods/diff/hooks/git/failed-run/failed-run.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/git/failed-run/failed-run.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/mods/diff/hooks/git/failed-run/failed-run.ts
-
curl -L -o failed-run.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/git/failed-run/failed-run.ts
283 Bytes
| import type Types from '../types' | |
| /** | |
| * What a child that never ran, was killed, or timed out reads as: exit code | |
| * -1 and no output, so a runner never rejects (GitRun). | |
| */ | |
| export const FAILED_RUN: Types.RunResult = Object.freeze({ | |
| exitCode: -1, | |
| stdout: '', | |
| stderr: '', | |
| }) | |