diff --git a/lib/utils/requestHttps.js b/lib/utils/requestHttps.js index 9b60d729d6..16720fd2f9 100644 --- a/lib/utils/requestHttps.js +++ b/lib/utils/requestHttps.js @@ -67,7 +67,7 @@ async function getConfigForPackage (packageName) { } } -function setupRequestFunction (prepareFn, badStatusFn) { +function setupRequestFunction (prepareFn) { return (url, options) => new Promise((resolve, reject) => { https.get(url, (response) => { const statusCode = response.statusCode