Skip to content

Commit 58fea3f

Browse files
committed
json: ignore libs/vendor from check
1 parent e37b9f4 commit 58fea3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json-check.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function jsonStyleCheck(string $dir)
1515
$invalidFiles = [];
1616
$files = scandir($dir);
1717
foreach ($files as $file) {
18-
if ($file != '.' && $file != '..') {
18+
if ($file != '.' && $file != '..' && $dir != './libs/vendor') {
1919
if (is_dir($dir . '/' . $file)) {
2020
$invalidFiles = array_merge($invalidFiles, jsonStyleCheck($dir . '/' . $file));
2121
} else {

0 commit comments

Comments
 (0)