mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-04-25 17:42:22 +00:00
chore: fix lint
License: MIT Signed-off-by: Jacob Heun <jacobheun@gmail.com>
This commit is contained in:
parent
6f04526083
commit
99f237bba1
@ -17,7 +17,7 @@ const { AbortError } = require('interface-transport')
|
|||||||
function noop () {}
|
function noop () {}
|
||||||
|
|
||||||
class TCP {
|
class TCP {
|
||||||
constructor(options) {
|
constructor (options) {
|
||||||
assert(options && options.upgrader, 'An Upgrader must be provided')
|
assert(options && options.upgrader, 'An Upgrader must be provided')
|
||||||
this.upgrader = options.upgrader
|
this.upgrader = options.upgrader
|
||||||
}
|
}
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
upgradeOutbound: (conn) => conn,
|
upgradeOutbound: (conn) => conn,
|
||||||
upgradeInbound: (conn) => conn,
|
upgradeInbound: (conn) => conn
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user