Skip to content

Commit

Permalink
Merge f341cdc into da09dc8
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Aug 25, 2023
2 parents da09dc8 + f341cdc commit 64c1f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/GHPages/UpdateWebsite.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ public function run(): int
*/
private function setPaths(): void
{
$realRoot = \realpath(self::PROJECT_ROOT) . '/';
$realRoot = \realpath(self::PROJECT_ROOT);
if ($realRoot === false) {
throw new RuntimeException(\sprintf('Failed to find the %s directory.', $realRoot));
}

$this->realRoot = $realRoot;
$this->realRoot = $realRoot . '/';

// Check if the target directory exists and if not, create it.
$targetDir = $this->realRoot . self::TARGET_DIR;
Expand Down

0 comments on commit 64c1f6f

Please sign in to comment.