always use githubStream

This commit is contained in:
tdurieux
2026-05-04 10:47:58 +02:00
parent 59d9805276
commit 3f095f0734
3 changed files with 19 additions and 41 deletions
+1 -9
View File
@@ -329,15 +329,7 @@ function updateRepoModel(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
repoUpdate: any
) {
if (repoUpdate.source.type) {
model.source.type = repoUpdate.source.type;
if (
model.source.type != "GitHubStream" &&
model.source.type != "GitHubDownload"
) {
model.source.type = "GitHubStream";
}
}
model.source.type = "GitHubStream";
model.source.commit = repoUpdate.source.commit;
model.source.branch = repoUpdate.source.branch;
model.options = {