From d157defc306ea819daea7044cd78f45ea373b69c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Wed, 10 Oct 2018 21:10:23 +0200 Subject: [PATCH] style: prefer const over let Prefer const over let when the binding is static, in order to comply with an upcoming Standard rule. --- test/compliance.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/compliance.spec.js b/test/compliance.spec.js index 5e76a64..1339086 100644 --- a/test/compliance.spec.js +++ b/test/compliance.spec.js @@ -8,7 +8,7 @@ const TCP = require('../src') describe('interface-transport compliance', () => { tests({ setup (cb) { - let tcp = new TCP() + const tcp = new TCP() const addrs = [ multiaddr('/ip4/127.0.0.1/tcp/9091'), multiaddr('/ip4/127.0.0.1/tcp/9092'),