Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wfjsw committed Aug 10, 2024
1 parent 9085af3 commit c1beec2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .script/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ export async function getFiles(repoId: string, revision: string) {
credentials: { accessToken: HF_TOKEN },
});
for await (const file of remoteFiles) {
if (file.type !== "file") {
continue;
}

let sha256 = file.lfs?.oid;

if (!sha256) {
Expand Down

0 comments on commit c1beec2

Please sign in to comment.