Skip to content

Commit 3010a1a

Browse files
committed
Merge pull request #54 from AnyFetch/undefined-function
Add a function to end()
2 parents 5c8fbf4 + 5240030 commit 3010a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers/child-process.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ process.on('message', function(task) {
6262

6363
// Warning, Black magic.
6464
// Streaming and checking for status code is no easy task...
65-
req.end().req.once('response', function(res) {
65+
req.end(function() {}).req.once('response', function(res) {
6666
if(res.statusCode !== 200) {
6767
if(res.statusCode === 410) {
6868
err = new Error('410 Gone');

0 commit comments

Comments
 (0)