(path: string | undefined, line: string)
| 28 | }; |
| 29 | |
| 30 | const appendGitHubFile = (path: string | undefined, line: string): void => { |
| 31 | if (!path || !line) return; |
| 32 | appendFileSync(path, `${line}\n`, "utf8"); |
| 33 | }; |
| 34 | |
| 35 | const run = (): void => { |
| 36 | const args = process.argv.slice(2); |