add packageSourceCredentials

pull/336/head
Evgenii Korolevskii 3 years ago
parent bdd38d13dc
commit 467621733d

3
dist/index.js vendored

@ -163,6 +163,9 @@ function writeFeedToFile(feedUrl, existingFileLocation, tempFileLocation) {
] ]
}); });
}); });
xmlSource[1].configuration.push({
packageSourceCredentials
});
// If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today), // If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today),
// use this for the value above // use this for the value above
// process.platform == 'win32' // process.platform == 'win32'

@ -172,6 +172,10 @@ function writeFeedToFile(
}); });
}); });
xmlSource[1].configuration.push({
packageSourceCredentials
});
// If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today), // If NuGet fixes itself such that on Linux it can look for environment variables in the config file (it doesn't seem to work today),
// use this for the value above // use this for the value above
// process.platform == 'win32' // process.platform == 'win32'

Loading…
Cancel
Save