Skip to content

Commit a248bc5

Browse files
committed
Fix errors marked by The Travis CI.
1 parent 8f3e08f commit a248bc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Server extends EventEmitter {
6161
// start an http tracker unless the user explictly says no
6262
if (opts.http !== false) {
6363
// Use (ot not) SSL Certificate
64-
if (typeof(opts.ssl)!="undefined"){
64+
if (typeof opts.ssl !== "undefined"){
6565
this.http = https.createServer(opts.ssl)
6666
} else {
6767
this.http = http.createServer()
@@ -102,7 +102,7 @@ class Server extends EventEmitter {
102102
if (opts.ws !== false) {
103103
if (!this.http) {
104104
// Use (ot not) SSL Certificate
105-
if (typeof(opts.ssl)!="undefined"){
105+
if (typeof opts.ssl !== "undefined"){
106106
this.http = https.createServer(opts.ssl)
107107
} else {
108108
this.http = http.createServer()
@@ -142,7 +142,7 @@ class Server extends EventEmitter {
142142
if (opts.stats !== false) {
143143
if (!this.http) {
144144
// Use (ot not) SSL Certificate
145-
if (typeof(opts.ssl)!="undefined"){
145+
if (typeof opts.ssl !== "undefined"){
146146
this.http = https.createServer(opts.ssl)
147147
} else {
148148
this.http = http.createServer()

0 commit comments

Comments
 (0)