Replace hardcoded github.com/gitlab.com checks with detectPlatform() #28102
Labels
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:refactor
Refactoring or improving of existing code
Describe the proposed change(s).
We have some inconsistency in our code where sometimes we check if a host is e.g. github.com or includes the string "github" in its hostname, and other times we have a more sophisticated check using detectPlatform(). We should do a code review for remaining hardcoded checks and see which can be replaced with detectPlatform().
The text was updated successfully, but these errors were encountered: