1
0
espelhamento de https://github.com/therootcompany/request.js.git sincronizado 2024-11-16 17:28:58 +00:00

bugfix: return after error callback

Esse commit está contido em:
AJ ONeal 2021-10-18 00:47:06 -06:00
commit 5f5e0b6066

Ver arquivo

@ -162,6 +162,7 @@ function setDefaults(defs) {
opts.stream = fs.createWriteStream(opts.stream); opts.stream = fs.createWriteStream(opts.stream);
} catch (e) { } catch (e) {
cb(e); cb(e);
return;
} }
} }
// or an existing write stream // or an existing write stream