Download mods/diff/tests/fixtures/scripted/ok.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/tests/fixtures/scripted/ok.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/mods/diff/tests/fixtures/scripted/ok.ts
-
curl -L -o ok.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/tests/fixtures/scripted/ok.ts
335 Bytes
| import type { ProcessRunResult } from 'claude-code' | |
| /** | |
| * A scripted git answer that exited 0 with the given output, nothing on | |
| * stderr. | |
| * | |
| * @param stdout what the command printed; nothing by default | |
| * @returns the run result | |
| */ | |
| export const ok = (stdout = ''): ProcessRunResult => ({ | |
| exitCode: 0, | |
| stdout, | |
| stderr: '', | |
| }) | |