mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
@@ -475,6 +475,9 @@ export function checkCopyrightYears(path: PathLike, subDir: PathLike): void {
|
|||||||
|
|
||||||
if (idx >= 0) {
|
if (idx >= 0) {
|
||||||
changedYears.splice(idx, 1);
|
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.`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user