summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-05-30 23:28:20 +0800
committerGitHub <[email protected]>2021-05-30 23:28:20 +0800
commit3ca55fb8685393bf461ab71d61436e1b5f34c4e6 (patch)
tree3c131b15aff61802beb97b011720d345a082fb8c
parent59ee16fb0a8c8c023e70e24ac1c13c9ecf332eb1 (diff)
fix filelock error tips
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index c8c00c9d7..c53a43d38 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -439,7 +439,7 @@ function _instance:filelock()
if filelock == nil then
filelock = io.openlock(path.join(self:cachedir(), "package.lock"))
if not filelock then
- os.raise("cannot create filelock for package(%s)!", package:name())
+ os.raise("cannot create filelock for package(%s)!", self:name())
end
self._FILELOCK = filelock
end