Skip to content

Commit

Permalink
fix: Fix stupid error when checking base-url
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed May 28, 2022
1 parent 5ec2788 commit c3d2cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/ConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public function resolveInheritance(
}

$baseUrl = $lookup['inheritanceBaseUrl'] ?? $this->getInheritanceBaseUrl();
if ($baseUrl && $baseUrl[0] = '.') {
if ($baseUrl && $baseUrl[0] == '.') {
$fullpathBaseUrl = realpath($baseUrl);
if (!$fullpathBaseUrl) {
throw new \RuntimeException(sprintf('Could not resolve/ find base url: `%s`', $baseUrl));
Expand Down

0 comments on commit c3d2cc7

Please sign in to comment.