mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-25 03:48:17 +00:00
no message
This commit is contained in:
parent
0274a7f6e6
commit
e5c4faf6ef
@ -182,7 +182,7 @@ class IndexController extends InvokeController
|
|||||||
$lists = Base::readDir($dirPath);
|
$lists = Base::readDir($dirPath);
|
||||||
$files = [];
|
$files = [];
|
||||||
foreach ($lists as $file) {
|
foreach ($lists as $file) {
|
||||||
if (str_ends_with($file, '.yml')) {
|
if (str_ends_with($file, '.yml') || str_ends_with($file, '.yaml')) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$fileName = Base::leftDelete($file, $dirPath);
|
$fileName = Base::leftDelete($file, $dirPath);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user