Skip to content

Commit

Permalink
fix: overwrite metadata when installing plugin (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtsukino authored Jul 4, 2024
1 parent 4b47327 commit c045566
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/entries/Background/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,6 @@ export async function addPluginMetadata(
hash: string,
metadata: PluginMetadata,
): Promise<PluginMetadata | null> {
if (await getPluginMetadataByHash(hash)) {
return null;
}

await pluginMetadataDb.put(hash, metadata);
return metadata;
}
Expand Down

0 comments on commit c045566

Please sign in to comment.