Skip to content
Snippets Groups Projects
Select Git revision
  • srb2
  • master default protected
2 results

main.lua

Blame
  • user avatar
    sunlin authored and GitHub committed
    When run follow command with get error message, 
    ```
    $ bin/Linux/lua-language-server  -E main.lua
    bin/Linux/lua-language-server: filesystem error: cannot create directories: Permission denied [/log]
    ```
    Which is caused by empty `rootPath' and the folder path for log with be `/log' in follow line,
    https://github.com/sumneko/lua-language-server/blob/1458139721646236406825a03a21152d98753515/main.lua#L40
    
    This change try to assign a default value `"."' for `rootPath' will fix the error.
    1fadbf5f
    History
    main.lua 1.74 KiB