Skip to content

Commit a5ef7e6

Browse files
committed
fix: add --tree . to luarocks init before running tests
1 parent a6d21d3 commit a5ef7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/luarocks-tag-release.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ local function luarocks_tag_release(package_name, package_version, specrev, args
4646
---@return nil
4747
local function luarocks_test(interpreter)
4848
print('Initialising luarocks project...')
49-
OS.execute('luarocks init' .. luarocks_extra_flags_and_args, print)
49+
OS.execute('luarocks --tree . init' .. luarocks_extra_flags_and_args, print)
5050
print('Done.')
5151
print('Configuring luarocks to use interpreter ' .. interpreter .. '...')
5252
OS.execute('luarocks config --scope project lua_interpreter ' .. interpreter .. luarocks_extra_flags_and_args)

0 commit comments

Comments
 (0)