Skip to content

Commit

Permalink
fix: use actual tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
innocenzi committed Sep 11, 2023
1 parent 234c76e commit 5634067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forge.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private function loadSettingsFromForge(): void
continue;
}

if (\in_array('deployer-ignored', $site['tags'] ?? [], true)) {
if (\in_array('deployer-ignored', array_map(fn (array $tag) => $tag['name'], $site['tags'] ?? []), true)) {
continue;
}

Expand Down

0 comments on commit 5634067

Please sign in to comment.