Skip to content

Commit 1f3d1c1

Browse files
committed
Upgrade luarocks to v3.12.0
1 parent 907a379 commit 1f3d1c1

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lua-rover-scm-1.rockspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = {
1010
}
1111
dependencies = {
1212
"argparse ~> 0.5.0",
13-
"luarocks ~> 3.11.1"
13+
"luarocks ~> 3.12.0"
1414
}
1515
build = {
1616
type = "builtin",

src/luarocks/fetch/git.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ end
114114
-- the fetched source tarball and the temporary directory created to
115115
-- store it; or nil and an error message.
116116
function git.get_sources(rockspec, extract, dest_dir, depth)
117-
assert(rockspec:type() == "rockspec")
118117
assert(type(dest_dir) == "string" or not dest_dir)
119118

120119
local git_cmd = rockspec.variables.GIT

src/rover/install.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ local function install(name, version, deps_mode, force)
6262
repos.delete_version(name, version, deps_mode)
6363
end
6464

65-
local opts = build.opts({
65+
local opts = {
6666
need_to_fetch = true,
6767
minimal_mode = false,
6868
deps_mode = deps_mode,
@@ -74,7 +74,7 @@ local function install(name, version, deps_mode, force)
7474
pin = false,
7575
rebuild = force,
7676
no_install = false,
77-
})
77+
}
7878

7979
if not repos.is_installed(name, version) then
8080
local spec, err = assert(search.find_src_or_rockspec(name, nil, version))

0 commit comments

Comments
 (0)