summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-07 17:15:23 +0800
committerGitHub <[email protected]>2025-05-07 17:15:23 +0800
commitef6704260b307376a23ef0638c1ee8e48a4dbc5c (patch)
treeb51dde554cbc87bfe3543c5c5f702611980a1d5a /xmake/modules
parentea13d87b271fbfe6ec96b90cb6b315220f4c53e9 (diff)
parent8395657438d132634d87b8c5c8b519147fa1ccec (diff)
Merge pull request #6397 from Shiffted/plugin_install
Add custom git url syntax to plugin --install
Diffstat (limited to 'xmake/modules')
-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()