()
| 139 | } |
| 140 | |
| 141 | async function parseHookInput<T>(): Promise<T> { |
| 142 | const text = await stdin.text(); |
| 143 | return JSON.parse(text) as T; |
| 144 | } |
| 145 | |
| 146 | async function main(): Promise<number> { |
| 147 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected