Skip to content

Commit abd1e54

Browse files
committed
PR feedback (add a comment)
1 parent 8221d96 commit abd1e54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tasks/Common/nuget-task-common/LocationHelpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export function assumeNuGetUriPrefixes(collectionUri: string): Q.Promise<string[
151151
let hostparts = collectionUrlObject.hostname.split('.');
152152
let packagingHostName = hostparts[0] + ".pkgs.visualstudio.com"
153153
collectionUrlObject.hostname = packagingHostName;
154+
// remove the host property so it doesn't override the hostname property for url.format
154155
delete collectionUrlObject.host;
155156
prefixes.push(url.format(collectionUrlObject));
156157
}

0 commit comments

Comments
 (0)