Avoid failing if COMPOSER env var is empty, refs #1720
parent
10a7008fdf
commit
a0a9536d90
|
@ -118,7 +118,7 @@ class Factory
|
||||||
|
|
||||||
public static function getComposerFile()
|
public static function getComposerFile()
|
||||||
{
|
{
|
||||||
return getenv('COMPOSER') ?: 'composer.json';
|
return trim(getenv('COMPOSER')) ?: 'composer.json';
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function createAdditionalStyles()
|
public static function createAdditionalStyles()
|
||||||
|
|
Loading…
Reference in New Issue