diff --git a/src/common.ts b/src/common.ts index d54c6df9..24948e86 100644 --- a/src/common.ts +++ b/src/common.ts @@ -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.`); } }