diff options
| author | ruki <[email protected]> | 2023-02-03 00:47:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-03 00:47:08 +0800 |
| commit | c68a29c3dede70aad99f6a36f16391f1ae0ce31b (patch) | |
| tree | ce1346987f959e847ddec393b6669995c8e1f507 | |
| parent | 102dbcf8d72caef593a0affa582b509919670095 (diff) | |
fix dump
| -rw-r--r-- | xmake/plugins/show/info/target.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/show/info/target.lua b/xmake/plugins/show/info/target.lua index eeeb1eb99..0da708361 100644 --- a/xmake/plugins/show/info/target.lua +++ b/xmake/plugins/show/info/target.lua @@ -26,7 +26,7 @@ import("core.language.language") -- show target information function _show_target(target) - print("The information of target(%s):", name) + print("The information of target(%s):", target:name()) cprint(" ${color.dump.string}at${clear}: %s", path.join(target:scriptdir(), "xmake.lua")) cprint(" ${color.dump.string}kind${clear}: %s", target:kind()) cprint(" ${color.dump.string}targetfile${clear}: %s", target:targetfile()) |
