Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/_http_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function ClientRequest(options, cb) {
if (util.isString(options)) {
options = url.parse(options);
} else {
options = util._extend({}, options);
options = Object.create(options||{});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: space between operands, options || {}

}

var agent = options.agent;
Expand Down