summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-02 23:39:08 +0800
committerruki <[email protected]>2021-02-02 23:39:08 +0800
commit6850ce1b32af0239169977139f052264c7dbdc20 (patch)
treeb0e6b3fdf857426339f5cbb80f2dd0a6c4ea0af5
parent8abac71e35e98611501a53327e1aa926621cb825 (diff)
remove some comments
-rw-r--r--xmake/actions/require/impl/actions/download.lua2
-rw-r--r--xmake/core/package/package.lua2
2 files changed, 0 insertions, 4 deletions
diff --git a/xmake/actions/require/impl/actions/download.lua b/xmake/actions/require/impl/actions/download.lua
index fa7669b46..f9b332cbc 100644
--- a/xmake/actions/require/impl/actions/download.lua
+++ b/xmake/actions/require/impl/actions/download.lua
@@ -215,8 +215,6 @@ function main(package)
else
_download(package, url, sourcedir, url_alias, url_excludes)
end
-
- -- ok
return true
end,
catch
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 6c730aebd..12d0a722e 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -252,8 +252,6 @@ function _instance:sourcehash(url_alias)
if not sourcehash then
sourcehash = versions[version_str]
end
-
- -- ok?
return sourcehash
end
end