mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
feat: re-added rest of the asset gens
This commit is contained in:
1 parent
9df47777d0
commit
9a44b1fcfb
9 files changed
+187
-183
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { Octokit } from '@octokit/rest';
|
||||
import { octokit } from './octokit';
|
||||
|
||||
const TIME_PER_BLOB = 2 ** 4 * 1000;
|
||||
|
||||
@@ -9,7 +9,6 @@ export interface FileChange {
|
||||
}
|
||||
|
||||
export default async function commitMultipleFiles(
|
||||
octokit: Octokit,
|
||||
owner: string,
|
||||
repo: string,
|
||||
branch: string,
|
||||
@@ -61,7 +60,6 @@ export default async function commitMultipleFiles(
|
||||
`Failed blob ${changeIndex + 1} / ${
|
||||
changes.length
|
||||
}; retrying in ${TIME_PER_BLOB}ms...`,
|
||||
error,
|
||||
);
|
||||
|
||||
await new Promise((resolve) => setTimeout(resolve, TIME_PER_BLOB));
|
||||
|
||||
Reference in new issue
Block a user