Skip to content

Commit 0a6d35b

Browse files
committed
fix error on wrong git url
1 parent 7696a01 commit 0a6d35b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scm.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,11 @@ function scm:downloadGit (sourceObject, repository, targetDirectory, updateObj)
265265
else
266266
success = false
267267
end
268+
269+
tmpRequest.close()
268270
else
269271
success = false
270272
end
271-
tmpRequest.close()
272273

273274
if not success then
274275
return nil, false

0 commit comments

Comments
 (0)