mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 16:13:06 +00:00
@@ -562,6 +562,10 @@ export function checkCopyrightYears(path: PathLike, subDir: PathLike): void {
|
||||
const fileStats = lstatSync(fileSystemObjectPath);
|
||||
|
||||
if (fileStats.isFile()) {
|
||||
if (fileSystemObject.match(/\.ts$/) === null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const content = readFileSync(fileSystemObjectPath)
|
||||
.toString()
|
||||
.split('\n');
|
||||
|
||||
Reference in New Issue
Block a user