Unverified Commit 47c781db authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #85 from danforbes/fix/websocket/connection

fix(websocket): [connection] Ensure WebSocket Connection Not Null
parents 30bbfdc7 bcfddea7
{
"name": "remixd",
"version": "0.1.8-alpha.9",
"version": "0.1.8-alpha.10",
"description": "remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)",
"main": "./src/index.js",
"bin": {
......
......@@ -15,7 +15,7 @@ module.exports = {
sharedFolder: function (sharedFolder, readOnly) {
this.sharedFolder = sharedFolder
this.readOnly = readOnly
if (this.websocket) this.websocket.send(message('rootFolderChanged', {}))
if (this.websocket.connection) this.websocket.send(message('rootFolderChanged', {}))
},
list: function (args, cb) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment