Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-26 07:21:27 +0300
committerMichaël Zasso <targos@protonmail.com>2019-03-30 15:16:39 +0300
commitf86f5736da72ad4f3fb50692461222590e2f0258 (patch)
tree6fee263bfca24abbf76b7a3f1517b8184c29f077 /benchmark/http/upgrade.js
parentf0b3855a90bc5f68fe38ea5e7c69d30ae7d81a27 (diff)
benchmark,lib: change var to const
Refs: https://github.com/nodejs/node/pull/26679 PR-URL: https://github.com/nodejs/node/pull/26915 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'benchmark/http/upgrade.js')
-rw-r--r--benchmark/http/upgrade.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/http/upgrade.js b/benchmark/http/upgrade.js
index c286cdb2644..8d365fe46df 100644
--- a/benchmark/http/upgrade.js
+++ b/benchmark/http/upgrade.js
@@ -19,7 +19,7 @@ const resData = 'HTTP/1.1 101 Web Socket Protocol Handshake\r\n' +
'\r\n\r\n';
function main({ n }) {
- var server = require('../fixtures/simple-http-server.js')
+ const server = require('../fixtures/simple-http-server.js')
.listen(common.PORT)
.on('listening', () => {
bench.start();