Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dtarnawsky committed Apr 8, 2024
1 parent 353c42b commit c3b87bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/pwa/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export class PwaAssetGenerator extends AssetGenerator {
for (const icon of icons) {
if (await pathExists(join(pwaDir, icon.src))) {
const exists = !!pwaAssets.find(({ template: { width, height } }) => {
return `${width}x${height}` === icon.sizes
return `${width}x${height}` === icon.sizes;
});
if (!exists) {
rmSync(join(pwaDir, icon.src));
Expand Down

0 comments on commit c3b87bf

Please sign in to comment.