Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.

Commit 2655f5a

Browse files
Pass through info if no connection is given
1 parent 5faaaf6 commit 2655f5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/connection.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ module.exports = class Connection {
99

1010
if (conn) {
1111
this.setInnerConn(conn, info)
12+
} else if (info) {
13+
this.info = info
1214
}
1315
}
1416

0 commit comments

Comments
 (0)