Skip to content

Commit

Permalink
ci: make cli pass in linter
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoDornelles committed Nov 5, 2024
1 parent 11f9d47 commit e51c898
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .luaurc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"load",
"loadfile",
"love",
"mock_separator",
"native_dict_secret",
"native_dict_game",
"native_dict_http",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/cli/builder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local function move(src_filename, out_filename, prefix)
local out_file = src_file and io.open(out_filename, 'w')
local pattern_require = 'local ([%w_%-]+) = require%([\'"]([%w_/-]+)[\'"]%)'
local pattern_gameload = 'std%.node%.load%([\'"](.-)[\'"]%)'
local pattern_comment = '^--!'
local pattern_comment = '^-'..'-!'

if src_file and out_file then
repeat
Expand Down
3 changes: 1 addition & 2 deletions src/lib/util/cmd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ local P = {
rmdir=rmdir,
mkdir=mkdir,
move=move,
del=del,
zip=zip
del=del
}

return P

0 comments on commit e51c898

Please sign in to comment.