mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-17 23:24:44 +02:00
fix: repository not ready only if in download
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ export default class Repository {
|
||||
yesterday.setDate(yesterday.getDate() - 1);
|
||||
|
||||
if (this._model.options.update && this._model.lastView < yesterday) {
|
||||
if (this._model.status != "ready") {
|
||||
if (this._model.status == "download") {
|
||||
throw new AnonymousError("repository_not_ready", this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user