Skip to content
Closed
Changes from all 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
tls: named anonymous functions in _tls_wrap.js
Refs: #8913
  • Loading branch information
prayag21 committed Jul 11, 2018
commit daedad6d68c8d0bfc429a4890e761e6b03a737d4
4 changes: 2 additions & 2 deletions lib/_tls_wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ function Server(options, listener) {

util.inherits(Server, net.Server);
exports.Server = Server;
exports.createServer = function(options, listener) {
exports.createServer = function createServer(options, listener) {
return new Server(options, listener);
};

Expand Down Expand Up @@ -1098,7 +1098,7 @@ function onConnectEnd() {
}
}

exports.connect = function(...args /* [port,] [host,] [options,] [cb] */) {
exports.connect = function connect(...args /* [port,] [host,] [options,] [cb] */) {
args = normalizeConnectArgs(args);
var options = args[0];
var cb = args[1];
Expand Down