From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/node-fetch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/node-fetch/index.js') diff --git a/node_modules/node-fetch/index.js b/node_modules/node-fetch/index.js index df89c80c7..8f6730d30 100644 --- a/node_modules/node-fetch/index.js +++ b/node_modules/node-fetch/index.js @@ -241,7 +241,7 @@ function Fetch(url, opts) { req.end(); } else if (options.body instanceof Buffer) { req.write(options.body); - req.end() + req.end(); } else if (typeof options.body === 'object' && options.body.pipe) { options.body.pipe(req); } else if (typeof options.body === 'object') { -- cgit v1.2.3