feat: warn about extraneous copyright years

References #17
This commit is contained in:
Karl-Philipp Wulfert
2019-05-16 12:13:05 +02:00
parent 44c82ade69
commit 1c826a41e0

View File

@@ -475,6 +475,9 @@ export function checkCopyrightYears(path: PathLike, subDir: PathLike): void {
if (idx >= 0) {
changedYears.splice(idx, 1);
} else {
// tslint:disable-next-line:max-line-length
consoleWarn(`File '${join(subDir.toString(), fileSystemObject)}' wrongly states '${copyrightYear}' as year in the copyright line.`);
}
}