summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/action/require/impl/repository.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/impl/repository.lua b/xmake/modules/private/action/require/impl/repository.lua
index ba0c9205f..3df59c42c 100644
--- a/xmake/modules/private/action/require/impl/repository.lua
+++ b/xmake/modules/private/action/require/impl/repository.lua
@@ -117,7 +117,7 @@ function repositories()
return _g._REPOSITORIES
end
-- get all repositories (local first)
- local repos = table.join(repository.repositories(false), repository.repositories(true))
+ local repos = table.join(repository.repositories({global = false}), repository.repositories({global = true}))
_g._REPOSITORIES = repos
return repos
end
@@ -220,4 +220,3 @@ function artifacts_manifest(packagename, version)
end
end
end
-