We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd11e1b commit 9738c94Copy full SHA for 9738c94
1 file changed
.github/scripts/favicon-smoke.php
@@ -13,7 +13,10 @@
13
use Drupal\emulsify\Hook\FaviconHooks;
14
15
$argv = $_SERVER['argv'] ?? [];
16
-$theme_name = (string) ($argv[1] ?? getenv('EMULSIFY_FAVICON_THEME') ?: 'emulsify');
+$theme_name = getenv('EMULSIFY_FAVICON_THEME');
17
+$theme_name = is_string($theme_name) && $theme_name !== ''
18
+ ? $theme_name
19
+ : (string) ($argv[1] ?? 'emulsify');
20
$site_name = (string) \Drupal::config('system.site')->get('name');
21
$svg = <<<'SVG'
22
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
0 commit comments