(text)
| 827 | // Shared license + note text, copied next to this script by BUILD.bazel — see scripts/*.txt. |
| 828 | const GENERATOR_DIR = dirname(fileURLToPath(import.meta.url)) |
| 829 | const commentLines = (text) => |
| 830 | text |
| 831 | .split('\n') |
| 832 | .map((line) => `// ${line}`.trimEnd()) |
| 833 | .join('\n') |
| 834 | |
| 835 | const LICENSE_HEADER = commentLines(readFileSync(join(GENERATOR_DIR, 'license_header.txt'), 'utf8').replace(/\n$/, '')) |
| 836 |
no test coverage detected