Skip to content

Commit

Permalink
Ensured that repos are present.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamharrison committed Jan 8, 2025
1 parent 6a7cf32 commit ecaeddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lpm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2335,7 +2335,7 @@ function lpm.setup()
table.insert(repositories, Repository.url(url):add(AUTO_PULL_REMOTES))
end
else
repositories = common.map(settings.repositories or {}, function(url) local repo = Repository.url(url) repo:parse_manifest() return repo end)
repositories = common.map(settings.repositories or {}, function(url) local repo = Repository.url(url) repo:fetch_if_not_present():parse_manifest() return repo end)
end
lite_xls = {}
for i, lite_xl in ipairs(settings.lite_xls or {}) do
Expand Down

0 comments on commit ecaeddb

Please sign in to comment.