build: shorten local validation loops
This commit is contained in:
@@ -12,7 +12,7 @@ const sourceFiles = globSync(
|
||||
[
|
||||
"src/**/*.ts",
|
||||
"tests/**/*.ts",
|
||||
"scripts/**/*.mjs",
|
||||
"scripts/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}",
|
||||
"bridge/**/*.py",
|
||||
"bridge/**/*.java",
|
||||
],
|
||||
@@ -46,7 +46,7 @@ for (const file of sourceFiles) {
|
||||
|
||||
if (count > 0) {
|
||||
console.log(`\n${count} tech-debt marker(s) found.`);
|
||||
process.exitCode = 0;
|
||||
process.exitCode = 1;
|
||||
} else {
|
||||
console.log("No tech-debt markers found.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user