Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
chore: prefer const over let (#99)
Browse files Browse the repository at this point in the history
Prefer const over let when the binding is static, in order to comply with an upcoming Standard rule.
  • Loading branch information
LinusU authored and daviddias committed Oct 31, 2018
1 parent 3aad2ed commit 3ab43a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/compliance.spec.js
Expand Up @@ -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'),
Expand Down

0 comments on commit 3ab43a3

Please sign in to comment.