Skip to content

Commit

Permalink
Update testScriptChecks.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JaylyDev committed Jun 18, 2023
1 parent e49738b commit 790063c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testScriptChecks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function execute (): 0 {
for (const scriptName of scripts) {
const scriptPath = path.resolve(scriptsPath, scriptName);
const files = readdirSync(scriptPath);
const testFiles = files.filter(x => testFilenames.includes(x));
const testFiles = files.filter(x => testFilenames.includes(x) && !statSync(path.resolve(scriptPath, x)).isDirectory());

if (testFiles.length <= 0) noTestScripts.push(scriptPath);
else {
Expand Down

0 comments on commit 790063c

Please sign in to comment.