commit
5a826ca14f
|
@ -65,10 +65,13 @@ class ArrayLoader implements LoaderInterface
|
|||
}
|
||||
|
||||
if (isset($config['bin'])) {
|
||||
foreach ((array) $config['bin'] as $key => $bin) {
|
||||
if (!\is_array($config['bin'])) {
|
||||
$config['bin'] = array($config['bin']);
|
||||
}
|
||||
foreach ($config['bin'] as $key => $bin) {
|
||||
$config['bin'][$key] = ltrim($bin, '/');
|
||||
}
|
||||
$package->setBinaries((array) $config['bin']);
|
||||
$package->setBinaries($config['bin']);
|
||||
}
|
||||
|
||||
if (isset($config['installation-source'])) {
|
||||
|
|
Loading…
Reference in New Issue