Skip to content

Commit c3386f2

Browse files
committed
perf(validation): Simplify the project validation
1 parent 707386c commit c3386f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Support/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function isValidSourceDirectory(string $param): bool
2929
return false;
3030
}
3131

32-
if (empty(File::allFiles($param))) {
32+
if (empty(File::files($param))) {
3333
return false;
3434
}
3535

0 commit comments

Comments
 (0)