mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-22 02:45:49 -04:00
Fix index not updating
This commit is contained in:
parent
f347741068
commit
799e7374a3
1 changed files with 5 additions and 0 deletions
|
@ -126,6 +126,11 @@ void Index::updateIndex(IndexUpdateCallback callback, bool force) {
|
|||
// gee i sure hope no one does 60 commits to the mod index an hour and download every
|
||||
// single one of them
|
||||
if (upcomingCommitSHA == "") {
|
||||
auto err = this->updateIndexFromLocalCache();
|
||||
if (!err) {
|
||||
RETURN_ERROR(err.error());
|
||||
}
|
||||
|
||||
m_upToDate = true;
|
||||
m_updating = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue