diff options
| author | ruki <[email protected]> | 2022-03-01 00:14:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-03-01 00:14:25 +0800 |
| commit | a76408793027b1aca6b8938a51e5d121bb42084b (patch) | |
| tree | 3ea663c26bcdeda51a252461d5d0719df4aee24d | |
| parent | d35bf537b44745881df92e123d8c99ae79d0ce98 (diff) | |
fix xrepo remove
| -rw-r--r-- | xmake/modules/private/action/require/uninstall.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/uninstall.lua b/xmake/modules/private/action/require/uninstall.lua index b3c2d1bce..0f457f3d6 100644 --- a/xmake/modules/private/action/require/uninstall.lua +++ b/xmake/modules/private/action/require/uninstall.lua @@ -50,7 +50,8 @@ function main(requires_raw) print("uninstall: %s%s ok!", instance:name(), instance:version_str() and ("-" .. instance:version_str()) or "") end if not packages or #packages == 0 then - cprint("${bright}packages(%s) not found, maybe they don’t exactly match the configuration.", table.concat(requires_raw, ", ")) + cprint("${bright}packages(%s) not found, maybe they don’t exactly match the configuration" + , requires_raw and table.concat(requires_raw, ", ") or "") if os.getenv("XREPO_WORKING") then print("please attempt to remove them with `-f/--configs=` option, e.g.") print(" - xrepo remove -f \"name=value, ...\" package") |
