summaryrefslogtreecommitdiff
path: root/xmake/modules/devel/git/asgiturl.lua
diff options
context:
space:
mode:
authorShifftC <[email protected]>2025-05-06 22:04:33 +0200
committerShifftC <[email protected]>2025-05-06 22:44:31 +0200
commit8395657438d132634d87b8c5c8b519147fa1ccec (patch)
treeb51dde554cbc87bfe3543c5c5f702611980a1d5a /xmake/modules/devel/git/asgiturl.lua
parent3e5b5fb81e145a98246480492bec06ccc3de74bd (diff)
asgiturl: add error message
Diffstat (limited to 'xmake/modules/devel/git/asgiturl.lua')
-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()