diff options
| author | ruki <[email protected]> | 2020-02-17 22:49:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-17 10:57:07 +0800 |
| commit | 82752d654d9f34619e7a8f4e39abb9cbdaf0957a (patch) | |
| tree | 717adf3b1112ff84471d42d758bbe561fa388ce3 /xmake/actions/require/scan.lua | |
| parent | 8368581d63ff27a0edc3928a8a391b2cf3e1e4bc (diff) | |
improve to require/install and uninstall
Diffstat (limited to 'xmake/actions/require/scan.lua')
| -rw-r--r-- | xmake/actions/require/scan.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/require/scan.lua b/xmake/actions/require/scan.lua index 20ea9dee3..abb4a88b9 100644 --- a/xmake/actions/require/scan.lua +++ b/xmake/actions/require/scan.lua @@ -51,7 +51,7 @@ function _scan_package(packagedir) end local manifest_file = path.join(hashdir, "manifest.txt") local manifest = os.isfile(manifest_file) and io.load(manifest_file) or nil - cprintf(" -> ${yellow}%s${clear}: ${green}%s, %s${clear}", hash, manifest.plat, manifest.arch) + cprintf(" -> ${yellow}%s${clear}: ${green}%s, %s${clear}", hash, manifest and manifest.plat or "", manifest and manifest.arch or "") if os.emptydir(hashdir) then cprintf(", ${red}empty${clear}") elseif not referenced then |
