Skip to content

Commit

Permalink
Merge pull request #9136 from lptn/fix-shepherd-without-custom-domain
Browse files Browse the repository at this point in the history
Fix shepherd for default domain
  • Loading branch information
orklah committed Jan 22, 2023
2 parents 9725daf + 73f9022 commit 29b654e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Cli/Psalm.php
Expand Up @@ -1158,7 +1158,7 @@ private static function configureShepherd(Config $config, array $options, array
);
}

$is_shepherd_enabled = (bool) ($options['shepherd'] ?? getenv('PSALM_SHEPHERD'));
$is_shepherd_enabled = isset($options['shepherd']) || getenv('PSALM_SHEPHERD');
if (! $is_shepherd_enabled) {
return;
}
Expand Down

0 comments on commit 29b654e

Please sign in to comment.