summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-20 23:58:24 +0800
committerruki <[email protected]>2024-08-20 23:58:24 +0800
commit594be318a7a10b95002451a66b892b99338eed53 (patch)
tree9506f31fb2025b55875e6aeca729418284dfdbf3
parent086cec237801c9802069d069eb4cf15d52254dfe (diff)
fix fwatch
-rw-r--r--xmake/core/base/fwatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/fwatcher.lua b/xmake/core/base/fwatcher.lua
index ddff66a06..e278b2124 100644
--- a/xmake/core/base/fwatcher.lua
+++ b/xmake/core/base/fwatcher.lua
@@ -148,7 +148,7 @@ end
-- ensure the fwatcher is opened
function _instance:_ensure_opened()
if not self:cdata() then
- return false, string.format("%s: has been closed!", self)
+ return false, string.format("<fwatcher:%s>: has been closed!", self:cdata())
end
return true
end