diff options
| author | ruki <[email protected]> | 2025-01-07 00:13:26 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-07 00:13:26 +0800 |
| commit | 27b25397a70585921df496503060e3bf04f0f38b (patch) | |
| tree | 6559b245b2091a8511d1a9a3fba970e5987390b3 /xmake/core/base/task.lua | |
| parent | bdc9a4cb46d5dd7d46dfa9a0ab2ec29aa9a2e6a8 (diff) | |
Update task.lua
Diffstat (limited to 'xmake/core/base/task.lua')
| -rw-r--r-- | xmake/core/base/task.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmake/core/base/task.lua b/xmake/core/base/task.lua index 1b1093e68..7258aeb21 100644 --- a/xmake/core/base/task.lua +++ b/xmake/core/base/task.lua @@ -481,12 +481,12 @@ function task:name() end -- get the namespace -function _instance:namespace() +function task:namespace() return self._NAMESPACE end -- get the full name -function _instance:fullname() +function task:fullname() local namespace = self:namespace() return namespace and namespace .. "::" .. self:name() or self:name() end @@ -508,8 +508,6 @@ function task:run(...) -- restore the current directory os.cd(curdir) - - -- ok? return ok, errors end |
