mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-22 13:20:09 -04:00
refactor(lua): fix some luals warnings
This commit is contained in:
parent
01d06a56ed
commit
1d0fd0bd03
12 changed files with 61 additions and 61 deletions
|
|
@ -55,8 +55,9 @@ if #updates > 0 then
|
|||
local update_list = table.concat(updates, ', ')
|
||||
print(string.format('\nUpdated parsers: %s', update_list))
|
||||
-- pass list to workflow
|
||||
if os.getenv('GITHUB_ENV') then
|
||||
local env = io.open(os.getenv('GITHUB_ENV'), 'a')
|
||||
local gh_env = os.getenv('GITHUB_ENV')
|
||||
if gh_env then
|
||||
local env = assert(io.open(gh_env, 'a'))
|
||||
env:write(string.format('UPDATED_PARSERS=%s\n', update_list))
|
||||
env:close()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue