diff options
| author | ruki <[email protected]> | 2025-08-17 23:10:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-17 23:10:59 +0800 |
| commit | 3fd6e799c8ec2c7203a862f4252bdbe2bcf4cb61 (patch) | |
| tree | f8335e91283806be7f265ab46a11d743b7f236a5 /xmake/core/base/path.lua | |
| parent | 62692a409f31cb14e527f37da59dd2767d4af3f2 (diff) | |
fix path #6720
Diffstat (limited to 'xmake/core/base/path.lua')
| -rw-r--r-- | xmake/core/base/path.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/base/path.lua b/xmake/core/base/path.lua index 02e010d89..0248fed67 100644 --- a/xmake/core/base/path.lua +++ b/xmake/core/base/path.lua @@ -412,6 +412,9 @@ end -- new a path instance function path.new(p, transform) + if path.instance_of(p) then + p = tostring(p) + end return _instance.new(p, transform) end |
