Skip to content

Commit

Permalink
ensure base functions return
Browse files Browse the repository at this point in the history
  • Loading branch information
ferronrsmith committed Apr 27, 2022
1 parent e68159c commit e0844d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/transports/__es__/_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const req = require('../../request')
const status = require('http-status')

class Base {
applyProxy (url, proxyHost, proxyPort) { req.applyProxy(url, proxyHost, proxyPort) }
applyProxy (url, proxyHost, proxyPort) { return req.applyProxy(url, proxyHost, proxyPort) }

applySSL (props) { req.applySSL(props, this) }
applySSL (props) { return req.applySSL(props, this) }

handleError (err, response) {
if (err) return err
Expand Down

0 comments on commit e0844d4

Please sign in to comment.