We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ac4306 commit b509baeCopy full SHA for b509bae
xmake/core/package/package.lua
@@ -859,7 +859,7 @@ function _instance:cachedir()
859
local name = self:displayname():lower():gsub("::", "_"):gsub("#", "_")
860
local version_str = self:version_str()
861
-- strip invalid characters on windows, e.g. `>= <=`
862
- if os.is_host("windows") then
+ if version_str and os.is_host("windows") then
863
version_str = version_str:gsub("[>=<|%*]", "")
864
end
865
if self:is_local() then
0 commit comments