6 Commits

Author SHA1 Message Date
nightwing
2795ef0379 update document contents even if postprocess command returns error
needed for standardjs which changes file on disk and return error if there are unfixed issues
2017-05-04 13:33:15 +04:00
nightwing
2eb1a76a93 do not use two char message marker, since it can be splitted 2017-04-06 23:14:34 +00:00
Harutyun Amirjanyan
a996d2a4d2 Merge pull request +15287 from c9/ide-vfs-collab-log
reduce collab logging
2017-02-24 03:14:55 +04:00
Tim Robinson
8b145e3c78 Add default home if user has unset $HOME env var
VFS Was constantly crashing for one user because they didn't have $HOME set in their workspace. The VFS error is:

```
2017-02-22T15:27:19Z { message: 'Scheduling process exit\nVFS Exception in function \'connect\':\n TypeError: Path must be a string. Received undefined\n    at assertPath (path.js:8:11)\n    at Object.posix.resolve (path.js:426:5)\n    at getProjectWD (eval at t ([eval]:1:364), <anonymous>:83:17)\n    at initSocket (eval at t ([eval]:1:364), <anonymous>:2925:21)\n    at Object.connect (eval at t ([eval]:1:364), <anonymous>:3126:9)\n    at Domain.eval (eval at t ([eval]:1:364), <anonymous>:4964:30)\n    at Domain.run (domain.js:228:14)\n    at Object.api.(anonymous function) [as connect] (eval at t ([eval]:1:364), <anonymous>:4963:23)\n    at Worker.call (eval at t ([eval]:1:364), <anonymous>:7909:21)\n    at Worker.Agent._onMessage (eval at t ([eval]:1:364), <anonymous>:3879:8)\nScheduling process exit\n',
  pid: 4382802 }
2017-02-22T15:27:19Z VFS stderr [4382802]: VFS Exception in function 'connect':
 TypeError: Path must be a string. Received undefined
    at assertPath (path.js:8:11)
    at Object.posix.resolve (path.js:426:5)
    at getProjectWD (eval at t ([eval]:1:364), <anonymous>:83:17)
    at initSocket (eval at t ([eval]:1:364), <anonymous>:2925:21)
    at Object.connect (eval at t ([eval]:1:364), <anonymous>:3126:9)
    at Domain.eval (eval at t ([eval]:1:364), <anonymous>:4964:30)
    at Domain.run (domain.js:228:14)
    at Object.api.(anonymous function) [as connect] (eval at t ([eval]:1:364), <anonymous>:4963:23)
    at Worker.call (eval at t ([eval]:1:364), <anonymous>:7909:21)
    at Worker.Agent._onMessage (eval at t ([eval]:1:364), <anonymous>:3879:8)
```

This fixes this bug so collab no longer crashes.
2017-02-23 11:50:15 -08:00
nightwing
65476ca6b7 reduce collab logging 2017-02-21 23:03:35 +00:00
nightwing
30a497b8f6 include all plugins in c9/core 2017-02-06 12:40:24 +00:00