spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / tests / fixtures / scripted / unscripted.ts
11 lines · 285 BRaw
1import type { ProcessRunResult } from 'claude-code'
2
3/**
4 * What a scripted git answers for a command the script does not name: the
5 * exit code git uses for a fatal error, and no output.
6 */
7export const UNSCRIPTED: ProcessRunResult = {
8 exitCode: 128,
9 stdout: '',
10 stderr: '',
11}