no message

This commit is contained in:
kuaifan 2022-04-22 09:11:15 +08:00
parent 0274a7f6e6
commit e5c4faf6ef

View File

@ -182,7 +182,7 @@ class IndexController extends InvokeController
$lists = Base::readDir($dirPath);
$files = [];
foreach ($lists as $file) {
if (str_ends_with($file, '.yml')) {
if (str_ends_with($file, '.yml') || str_ends_with($file, '.yaml')) {
continue;
}
$fileName = Base::leftDelete($file, $dirPath);