mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-20 06:37:23 +02:00
feat: check if file list exist when checking if repo is ready
This commit is contained in:
1 parent
a0dff4389d
commit
8712746e93
1 file changed
+3
@@ -267,6 +267,9 @@ export default class Repository {
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (!(await FileModel.exists({ repoId: this.repoId }).exec())) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user