Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
fix(lint): fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 21, 2018
1 parent d238bb9 commit 1cc5c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class Connection extends Emitter {
constructor (url, options) {
super()

url = url ? url : `${wsProtocol}://${window.location.hostname}`
url = url || `${wsProtocol}://${window.location.hostname}`

/**
* Connection options
Expand Down

0 comments on commit 1cc5c2d

Please sign in to comment.