diff options
author | ZYSzys <zyszys98@gmail.com> | 2019-03-10 00:06:48 +0800 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-03-12 06:40:57 +0100 |
commit | 4c4e4f4bda7d4ca70ff8e9b8a2efbe1cac27abee (patch) | |
tree | bc561fd1bc5e208f6127258201444d346d18fdf4 /lib/_http_agent.js | |
parent | c51735fd2d8faac787fe85ddbb030e86c63d778f (diff) | |
download | android-node-v8-4c4e4f4bda7d4ca70ff8e9b8a2efbe1cac27abee.tar.gz android-node-v8-4c4e4f4bda7d4ca70ff8e9b8a2efbe1cac27abee.tar.bz2 android-node-v8-4c4e4f4bda7d4ca70ff8e9b8a2efbe1cac27abee.zip |
http: reduce usage of public util
PR-URL: https://github.com/nodejs/node/pull/26548
Refs: https://github.com/nodejs/node/issues/26546
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'lib/_http_agent.js')
-rw-r--r-- | lib/_http_agent.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/_http_agent.js b/lib/_http_agent.js index 3c488c7f05..353fa44f7e 100644 --- a/lib/_http_agent.js +++ b/lib/_http_agent.js @@ -22,9 +22,8 @@ 'use strict'; const net = require('net'); -const util = require('util'); const EventEmitter = require('events'); -const debug = util.debuglog('http'); +const debug = require('internal/util/debuglog').debuglog('http'); const { async_id_symbol } = require('internal/async_hooks').symbols; // New Agent code. |