From 5d067406b14fa008c7f7cdf0c2c6f23dc685ba45 Mon Sep 17 00:00:00 2001 From: muxator Date: Tue, 26 Mar 2019 23:47:52 +0100 Subject: [PATCH] utils/Minify.js: removed unused parameter "redirectCount" in requestURI() Found by the Typescript compiler when doing an experimental conversion. --- src/node/utils/Minify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/Minify.js b/src/node/utils/Minify.js index 6f3b75186..11bfaa82c 100644 --- a/src/node/utils/Minify.js +++ b/src/node/utils/Minify.js @@ -70,7 +70,7 @@ for (var key in tar) { // What follows is a terrible hack to avoid loop-back within the server. // TODO: Serve files from another service, or directly from the file system. -function requestURI(url, method, headers, callback, redirectCount) { +function requestURI(url, method, headers, callback) { var parsedURL = urlutil.parse(url); var status = 500, headers = {}, content = [];