(text)
| 801 | // Shared license + note text, copied next to this script by BUILD.bazel — see scripts/*.txt. |
| 802 | const GENERATOR_DIR = dirname(fileURLToPath(import.meta.url)) |
| 803 | const commentLines = (text) => |
| 804 | text |
| 805 | .split('\n') |
| 806 | .map((line) => `// ${line}`.trimEnd()) |
| 807 | .join('\n') |
| 808 | |
| 809 | const LICENSE_HEADER = commentLines(readFileSync(join(GENERATOR_DIR, 'license_header.txt'), 'utf8').replace(/\n$/, '')) |
| 810 |
no test coverage detected