Skip to content
Permalink
Browse files

Fix release shortening for hub urls

  • Loading branch information...
kzu committed Jun 25, 2019
1 parent 8611960 commit 13b03d378a65ae7941daf8d494f74c6a3fffe5c4
Showing with 2 additions and 2 deletions.
  1. +1 −1 linkinator/background.js
  2. +1 −1 linkinator/manifest.json
@@ -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]);
@@ -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

0 comments on commit 13b03d3

Please sign in to comment.
You can’t perform that action at this time.