Remove special case for gpr url

This commit is contained in:
Zachary Eisinger
2019-11-25 15:16:52 -08:00
parent ff633a565f
commit 167e5cb271
5 changed files with 23 additions and 68 deletions

View File

@ -38,9 +38,6 @@ function writeFeedToFile(
if (!owner) {
owner = github.context.repo.owner;
}
if (feedUrl.indexOf('nuget.pkg.github.com') > -1) {
sourceUrl = 'https://nuget.pkg.github.com/' + owner + '/index.json';
}
if (!process.env.NUGET_AUTH_TOKEN || process.env.NUGET_AUTH_TOKEN == '') {
throw new Error(