summaryrefslogtreecommitdiff
path: root/xmake/modules/devel/git/checkurl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/devel/git/checkurl.lua')
-rw-r--r--xmake/modules/devel/git/checkurl.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/modules/devel/git/checkurl.lua b/xmake/modules/devel/git/checkurl.lua
index 19fa2346f..d0b937e1c 100644
--- a/xmake/modules/devel/git/checkurl.lua
+++ b/xmake/modules/devel/git/checkurl.lua
@@ -29,7 +29,5 @@
-- @return true or false
--
function main(url)
-
- -- check it
return url:endswith(".git") or os.isdir(url .. ".git")
end