(path: string, jq: string)
| 94 | } |
| 95 | |
| 96 | function optionalGhJson(path: string, jq: string): string { |
| 97 | try { |
| 98 | return runText("gh", ["api", path, "--jq", jq], { |
| 99 | maxBuffer: 1024 * 1024, |
| 100 | trim: "both", |
| 101 | }); |
| 102 | } catch { |
| 103 | return ""; |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | export function commitMetadata( |
| 108 | targetDir: string, |
no test coverage detected