mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-08 10:39:27 +01:00
fix requireComposerPackages
This commit is contained in:
parent
4f1e98c09e
commit
4e10daa790
@ -163,7 +163,7 @@ class PluginService
|
||||
{
|
||||
if ($plugin->composer_packages) {
|
||||
$composerPackages = collect(json_decode($plugin->composer_packages, true, 512, JSON_THROW_ON_ERROR))
|
||||
->map(fn ($version, $package) => "'$package:$version'")
|
||||
->map(fn ($version, $package) => "$package:$version")
|
||||
->flatten()
|
||||
->unique()
|
||||
->toArray();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user