| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4a747f6 commit 3c52dbe
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1078,7 +1078,7 @@ function Server(options, connectionListener) { | |||
| 1078 | 1078 | options = {}; | |
| 1079 | 1079 | this.on('connection', connectionListener); | |
| 1080 | 1080 | } else if (options == null || typeof options === 'object') { | |
| 1081 | - options = options || {}; | ||
| 1081 | + options = { ...options }; | ||
| 1082 | 1082 | ||
| 1083 | 1083 | if (typeof connectionListener === 'function') { | |
| 1084 | 1084 | this.on('connection', connectionListener); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments