mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
lib: add trailing commas to all public core modules
PR-URL: https://github.com/nodejs/node/pull/46848 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
This commit is contained in:
1 parent
17fbfb23bd
commit
0f33bb0961
30 files changed
+214
-245
No files matched your search
+3
-3
@@ -142,7 +142,7 @@ function createConnection(port, host, options) {
|
||||
debug('reuse session for %j', options._agentKey);
|
||||
options = {
|
||||
session,
|
||||
...options
|
||||
...options,
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -193,7 +193,7 @@ function Agent(options) {
|
||||
|
||||
this._sessionCache = {
|
||||
map: {},
|
||||
list: []
|
||||
list: [],
|
||||
};
|
||||
}
|
||||
ObjectSetPrototypeOf(Agent.prototype, HttpAgent.prototype);
|
||||
@@ -402,5 +402,5 @@ module.exports = {
|
||||
Server,
|
||||
createServer,
|
||||
get,
|
||||
request
|
||||
request,
|
||||
};
|
||||
Reference in new issue
Block a user