diff options
| author | ruki <[email protected]> | 2021-01-30 21:20:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-30 21:20:38 +0800 |
| commit | 28f106acf8d071049b8615ff19616d4a8be7fbe3 (patch) | |
| tree | c1f4b6fdb94ed22cdf405175e5a81cdcfecb3de0 /xmake/core/main.lua | |
| parent | 9546de4d7239274053ac67486e5baa8b7ef7aab4 (diff) | |
fix update
Diffstat (limited to 'xmake/core/main.lua')
| -rw-r--r-- | xmake/core/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua index ec7d9b222..fb4de9570 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -281,7 +281,7 @@ Or you can add `--root` option or XMAKE_ROOT=y to allow run as root temporarily. -- get task instance local taskname = option.taskname() or "build" - local taskinst = project.task(taskname) or task.task(taskname) + local taskinst = task.task(taskname) or project.task(taskname) if not taskinst then return main._exit(string.format("do unknown task(%s)!", taskname)) end |
