(text)
| 742 | // Shared license + note text, copied next to this script by BUILD.bazel — see scripts/*.txt. |
| 743 | const GENERATOR_DIR = dirname(fileURLToPath(import.meta.url)) |
| 744 | const commentLines = (text) => |
| 745 | text |
| 746 | .split('\n') |
| 747 | .map((line) => `// ${line}`.trimEnd()) |
| 748 | .join('\n') |
| 749 | |
| 750 | const LICENSE_HEADER = commentLines(readFileSync(join(GENERATOR_DIR, 'license_header.txt'), 'utf8').replace(/\n$/, '')) |
| 751 |
no test coverage detected