mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
hotfix console.log
This commit is contained in:
parent
00cd22c67b
commit
64ca287c31
@ -160,7 +160,6 @@ export const curlRequest = (options: CurlRequestOptions) => new Promise<CurlRequ
|
|||||||
// set up response writer
|
// set up response writer
|
||||||
let responseBodyBytes = 0;
|
let responseBodyBytes = 0;
|
||||||
curl.setOpt(Curl.option.WRITEFUNCTION, buffer => {
|
curl.setOpt(Curl.option.WRITEFUNCTION, buffer => {
|
||||||
console.log('write', buffer.length);
|
|
||||||
responseBodyBytes += buffer.length;
|
responseBodyBytes += buffer.length;
|
||||||
responseBodyWriteStream.write(buffer);
|
responseBodyWriteStream.write(buffer);
|
||||||
return buffer.length;
|
return buffer.length;
|
||||||
|
Loading…
Reference in New Issue
Block a user