Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Fix release shortening for hub urls
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jun 25, 2019
1 parent 8611960 commit 13b03d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion linkinator/background.js
Expand Up @@ -143,7 +143,7 @@ function shortenUrl(hostname, shortUrl) {
}
}

if (shortUrl.includes('/_releaseProgress?') && shortUrl.includes('releaseId=')) {
if ((shortUrl.includes('/_releaseProgress?') || shortUrl.includes('release-pipeline-progress')) && shortUrl.includes('releaseId=')) {
// New release pipeline
var releaseId = /releaseId=(\d+)/.exec(shortUrl);
var id = parseInt(releaseId[1]);
Expand Down
2 changes: 1 addition & 1 deletion linkinator/manifest.json
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "AzDO Linkinator",
"author": "Daniel Cazzulino",
"version": "0.5.6",
"version": "0.5.7",
"background": {
"scripts": ["background.js"],
"persistent": false
Expand Down

0 comments on commit 13b03d3

Please sign in to comment.