Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnisi committed Mar 27, 2019
1 parent c661b49 commit 953a18f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/streams_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ MangerTransform.prototype.head = function (qry, cb) {
}

function requestAborted () {
if (req.res.completed) return
if (req.res.complete) return
const er = new Error('aborted')
done(er)
}
Expand Down Expand Up @@ -596,7 +596,7 @@ MangerTransform.prototype.parse = function (qry, res, cb = () => {}) {
// https://github.com/nodejs/node/issues/18756
const onAborted = () => {
debug('request aborted: %s', uri)
if (res.completed) return
if (res.complete) return
done()
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "manger",
"version": "6.4.7",
"version": "6.4.8",
"description": "cache feeds",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 953a18f

Please sign in to comment.