Skip to content

Commit 8395657

Browse files
committed
asgiturl: add error message
1 parent 3e5b5fb commit 8395657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/devel/git/asgiturl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function main(url)
4040

4141
-- check
4242
url = url:trim()
43-
assert(#url > 0)
43+
assert(#url > 0, "provided URL is empty!")
4444

4545
-- safe because all custom_protocol supports https
4646
local lower = url:lower()

0 commit comments

Comments
 (0)