summaryrefslogtreecommitdiff
path: root/xmake/modules/private
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-02 23:33:26 +0800
committerruki <[email protected]>2021-06-02 23:33:26 +0800
commitbccbaae0a466152fa648ed10156fb6295c862c37 (patch)
treeab6bb7cec9d359b6cb2ff92e3709863ce6ad2a6d /xmake/modules/private
parent76a7ac04e4a1a07347fd1fb6bc43374e2ff88dc6 (diff)
fix fetch package
Diffstat (limited to 'xmake/modules/private')
-rw-r--r--xmake/modules/private/action/require/impl/repository.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/private/action/require/impl/repository.lua b/xmake/modules/private/action/require/impl/repository.lua
index 6a0471f8b..f997ee703 100644
--- a/xmake/modules/private/action/require/impl/repository.lua
+++ b/xmake/modules/private/action/require/impl/repository.lua
@@ -70,17 +70,9 @@ function packagedir(packagename, reponame)
break
end
end
-
- -- found?
if foundir then
-
- -- save package directory
packagedirs[packagename] = foundir
-
- -- update cache
_g._PACKAGEDIRS = packagedirs
-
- -- ok
return foundir[1], foundir[2]
end
end