Skip to content

Commit 451edbb

Browse files
committed
Prettier
1 parent 829905f commit 451edbb

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ HttpsProxyAgent.prototype.callback = function connect(req, opts, fn) {
170170
socket = new net.Socket();
171171
socket.readable = true;
172172

173-
174173
// save a reference to the concat'd Buffer for the `onsocket` callback
175174
buffers = buffered;
176175

test/test.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,15 @@ describe('HttpsProxyAgent', function() {
239239
process.env.http_proxy ||
240240
'http://localhost:' + proxyPort;
241241

242-
const req = http.get({
243-
agent: new HttpsProxyAgent(proxyUri)
244-
}, function(res) {
245-
assert.equal(407, res.statusCode);
246-
req.abort();
247-
});
242+
const req = http.get(
243+
{
244+
agent: new HttpsProxyAgent(proxyUri)
245+
},
246+
function(res) {
247+
assert.equal(407, res.statusCode);
248+
req.abort();
249+
}
250+
);
248251

249252
req.on('abort', done);
250253
});

0 commit comments

Comments
 (0)