Skip to content
Permalink
Browse files

Show the site name (#340)

* Show the site name

* Fixed indentation
  • Loading branch information...
marcelovani authored and jmolivas committed Apr 22, 2018
1 parent 8ee1af0 commit fd5c856321568c4310ab5cb69490b1e247b6619c
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Utils/ConfigurationManager.php
@@ -419,7 +419,9 @@ public function getSites()
foreach ($environments as $environment => $config) {
if (!array_key_exists('type', $config)) {
throw new \UnexpectedValueException("The 'type' parameter is required in sites configuration.");
throw new \UnexpectedValueException(sprintf(
"The 'type' parameter is required in sites configuration:\n %s.", $site->getPathname())
);
}
if ($config['type'] !== 'local') {
if (array_key_exists('host', $config)) {

0 comments on commit fd5c856

Please sign in to comment.
You can’t perform that action at this time.