Skip to content

Commit 133d9cc

Browse files
committed
fix git requirements not installing
1 parent 0a6d35b commit 133d9cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scm.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,11 @@ function scm:checkRequirements(name)
629629
end
630630

631631
if not scriptExists then
632-
self:download(tmpName .. "@" .. tmpCode, "library")
632+
if tmpCode then
633+
self:download(tmpName .. "@" .. tmpCode, "library")
634+
else
635+
self:download(n, "library")
636+
end
633637
else
634638
scm:log(n .. " already exists.")
635639
end

0 commit comments

Comments
 (0)