(cmd: string, opts?: { cwd?: string })
| 115 | } |
| 116 | |
| 117 | export function tryRun(cmd: string, opts?: { cwd?: string }): string | null { |
| 118 | try { |
| 119 | return run(cmd, opts); |
| 120 | } catch { |
| 121 | return null; |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | // ---- Array-based commands (shell-injection safe) ---- |
| 126 |
nothing calls this directly
no test coverage detected
searching dependent graphs…