diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-26 07:21:27 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-03-30 15:16:39 +0300 |
commit | f86f5736da72ad4f3fb50692461222590e2f0258 (patch) | |
tree | 6fee263bfca24abbf76b7a3f1517b8184c29f077 /benchmark/http/upgrade.js | |
parent | f0b3855a90bc5f68fe38ea5e7c69d30ae7d81a27 (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.js | 2 |
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(); |