Skip to content

Comments

default value for opts object#11

Open
DougAnderson444 wants to merge 1 commit intohypercore-protocol:masterfrom
DougAnderson444:patch-1
Open

default value for opts object#11
DougAnderson444 wants to merge 1 commit intohypercore-protocol:masterfrom
DougAnderson444:patch-1

Conversation

@DougAnderson444
Copy link

If the opts object is not passed, I'm getting a "cannot read host of undefined" error, which should be fixed by assigning a default opts of {}

If the opts object is not passed, I'm getting a "cannot read host of undefined" error, which should be fixed by assigning a default opts of {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant