mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Allow all artifact configs
This commit is contained in:
parent
c40eaeef5d
commit
08d20205a7
@ -18,7 +18,7 @@ class ArtifactConfig
|
||||
throw new WrongUsageException("Directory {$dir} does not exist, cannot load artifact config.");
|
||||
}
|
||||
$loaded = [];
|
||||
$files = glob("{$dir}/artifact.*.json");
|
||||
$files = glob("{$dir}/*");
|
||||
if (is_array($files)) {
|
||||
foreach ($files as $file) {
|
||||
self::loadFromFile($file, $registry_name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user