mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-01 06:25:22 +00:00
Clean up refresh flow
This commit is contained in:
parent
245c70cbb9
commit
f5f367772d
2 changed files with 1 additions and 4 deletions
|
|
@ -335,7 +335,7 @@ program
|
|||
const skins = skinRows.map((row) => new SkinModel(ctx, row));
|
||||
for (const skin of skins) {
|
||||
await setHashesForSkin(skin);
|
||||
await Skins.setContentHash(skin.getMd5());
|
||||
// await Skins.setContentHash(skin.getMd5());
|
||||
process.stdout.write(".");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,9 +87,6 @@ export async function setHashesForSkin(skin: SkinModel): Promise<void> {
|
|||
.count({ count: "*" });
|
||||
if (!countRows[0].count) {
|
||||
await knex("file_info").insert(row);
|
||||
console.log("Inserted file info:", row);
|
||||
} else {
|
||||
console.log("Already have file info for", row.file_md5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue