diff options
Diffstat (limited to 'xmake/actions/require/info.lua')
| -rw-r--r-- | xmake/actions/require/info.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/require/info.lua b/xmake/actions/require/info.lua index e75036df5..9e0ea691b 100644 --- a/xmake/actions/require/info.lua +++ b/xmake/actions/require/info.lua @@ -116,9 +116,9 @@ function main(package_names) cprint(" -> ${magenta}urls${clear}:") for _, url in ipairs(urls) do print(" -> %s", filter.handle(url, instance)) - local sha256 = instance:sha256(instance:url_alias(url)) - if sha256 then - cprint(" -> ${yellow}%s${clear}", sha256) + local sourcehash = instance:sourcehash(instance:url_alias(url)) + if sourcehash then + cprint(" -> ${yellow}%s${clear}", sourcehash) end end end |
