(err: unknown)
| 19 | "gh", |
| 20 | args, |
| 21 | { |
| 22 | cwd, |
| 23 | encoding: "utf8", |
| 24 | maxBuffer: 10 * 1024 * 1024, |
| 25 | timeout: options.timeoutMs, |
| 26 | }, |
| 27 | (error, stdout, stderr) => { |
| 28 | if (error) { |
| 29 | Object.assign(error, { stdout, stderr }); |
| 30 | reject(error); |
| 31 | } else if (stdinError) reject(stdinError); |
| 32 | else resolve(stdout); |
| 33 | }, |
| 34 | ); |
| 35 | child.stdin?.once("error", (error) => { |
no outgoing calls
no test coverage detected