From 5f904cda00a27d36ba933044374b3f818eb1d7e4 Mon Sep 17 00:00:00 2001 From: Ben Surgison Date: Tue, 4 Jul 2023 15:26:36 +0100 Subject: [PATCH] Lint --- lib/utils/requestHttps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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