summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/devel/git/asgiturl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/devel/git/asgiturl.lua b/xmake/modules/devel/git/asgiturl.lua
index 7a336b930..cd4f271fd 100644
--- a/xmake/modules/devel/git/asgiturl.lua
+++ b/xmake/modules/devel/git/asgiturl.lua
@@ -40,7 +40,7 @@ function main(url)
-- check
url = url:trim()
- assert(#url > 0)
+ assert(#url > 0, "provided URL is empty!")
-- safe because all custom_protocol supports https
local lower = url:lower()