in scripts/license.ts [40:51]
function addLicenseTag(contents: string): string {
const lines = contents.split("\n");
const newLines: string[] = [];
for (const line of lines) {
if (line.match(copyrightPattern)) {
const indent = line.split("*")[0]; // Get whitespace to match
newLines.push(indent + "* @license");
}
newLines.push(line);
}
return newLines.join("\n");
}