forked from IndigoUnited/node-detect-readme-badges
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(travis): Recognise travis-ci.com URLs
As the transition to travis-ci.com is nearing completion, the legacy dot-org URLs are becoming more and more rare, which is negatively affecting the package quality score on <https://npms.io/> * Recognise travis-ci.com URLs. * Recognise the site (org vs com) because otherwise the API URL that we return will not work as expected (they are different realms, not aliased!). * Move the canonical URL detection higher up because it is important that we parse dot-org vs dot-com correctly if it is available. Fixes IndigoUnited#56.
- Loading branch information
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters