Skip to content

Commit

Permalink
chore(debug): print lua-language-server --version
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jan 18, 2023
1 parent a39c56c commit 5ea936e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/entrypoint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ local function lint(directory)
local redirect = ' >' .. stdout_file .. ' 2>' .. stderr_file
print(cmd)
local exit_code = os.execute(cmd .. redirect)
os.execute('lua-language-server --version > stdout.txt')
local stdout = read_file(stderr_file) or ''
print(stdout)
if exit_code ~= 0 then
Expand Down

0 comments on commit 5ea936e

Please sign in to comment.