Skip to content

Commit

Permalink
Merge pull request #290 from jolicode/array_unique_on_URLs_listing
Browse files Browse the repository at this point in the history
Add array_unique on urls listing
  • Loading branch information
pyrech committed Mar 13, 2024
2 parents 45b125f + 5d0e61f commit 4997c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .castor/docker.php
Expand Up @@ -51,7 +51,7 @@ function about(): void
$urls = [...$urls, ...$hosts];
}
}
io()->listing(array_map(fn ($url) => "https://{$url}", $urls));
io()->listing(array_map(fn ($url) => "https://{$url}", array_unique($urls)));
}

#[AsTask(description: 'Opens the project in your browser', namespace: '', aliases: ['open'])]
Expand Down

0 comments on commit 4997c0d

Please sign in to comment.