diff --git a/src/store/util/github.ts b/src/store/util/github.ts index dd43718..43f5240 100644 --- a/src/store/util/github.ts +++ b/src/store/util/github.ts @@ -120,21 +120,19 @@ class Github { const octokit = await this.kit(); const resp = await octokit.rest.repos.listBranches(FIRMWARE_REPO); - const promises = resp.data - .filter((b) => b.name != "master") - .map((b) => { - return Promise.all([ - this.fetchArtifacts(b.name), - this.fetchVersion(b.name), - ]).then(([artifacts, version]) => { - return { - name: b.name, - commit: b.commit.sha, - version, - artifacts, - }; - }); + const promises = resp.data.map((b) => { + return Promise.all([ + this.fetchArtifacts(b.name), + this.fetchVersion(b.name), + ]).then(([artifacts, version]) => { + return { + name: b.name, + commit: b.commit.sha, + version, + artifacts, + }; }); + }); const branches = {}; for (const b of await Promise.all(promises)) {