Skip to content

Commit

Permalink
update path
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed May 8, 2022
1 parent 5683c39 commit 9ffc16b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xmake/core/base/path.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ function _instance:join(...)
return path.new(path.join(table.unpack(items)))
end

function _instance:split(p)
return path.split(self:str(), p)
function _instance:split()
return path.split(self:str())
end

function _instance:splitenv(p)
return path.splitenv(self:str(), p)
function _instance:splitenv()
return path.splitenv(self:str())
end

-- concat two paths
Expand Down

0 comments on commit 9ffc16b

Please sign in to comment.