(value: string | undefined, cwd?: string)
| 282 | } |
| 283 | |
| 284 | function resolvePath(value: string | undefined, cwd?: string) { |
| 285 | if (!value) return undefined |
| 286 | if (isAbsolute(value)) return value |
| 287 | return resolve(cwd ?? process.cwd(), value) |
| 288 | } |
| 289 | |
| 290 | function shellCommand(input: ToolInput) { |
| 291 | return stringValue(input.command) ?? stringValue(input.cmd) |
no test coverage detected