Skip to content

Commit 0da2dfd

Browse files
committed
Fix installation through a proxy
1 parent f31b20e commit 0da2dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/oracledbinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function getFileReadStreamByProxy(hostname, path, proxyHostname, proxyPort) {
202202
req.on('error', reject);
203203

204204
// When this ends, the transfer will be complete
205-
req.end('end', function() {});
205+
req.end();
206206

207207
req.on('connect', function(res, socket) {
208208
if (res.statusCode >= 300 && res.statusCode < 400) { // warning: proxy redirection code is untested

0 commit comments

Comments
 (0)