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