Skip to content

Commit

Permalink
Fix bug caused by function parameter mismatch
Browse files Browse the repository at this point in the history
Fix bug in d120027 caused by improper function ordering leading to there being no fallback if the output directory config is not set.
  • Loading branch information
caendesilva committed Jul 2, 2022
1 parent 3bcc104 commit 785131d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/framework/src/HydeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ public function register(): void

$this->discoverBladeViewsIn('_pages');

$this->storeCompiledSiteIn(Hyde::path(config(
trim('hyde.output_directory', '_site'),
'/\\'
)));
$this->storeCompiledSiteIn(Hyde::path(
trim(config('hyde.output_directory', '_site'), '/\\')
));

$this->commands([
Commands\HydePublishHomepageCommand::class,
Expand Down

0 comments on commit 785131d

Please sign in to comment.