Skip to content

Commit

Permalink
Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnguonly committed Mar 19, 2024
1 parent 5b0bb08 commit 5273982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const downloadImages = async (imageURLs: string[]): Promise<string[]> => {
urls = urls.filter((url) => {
const extension = url.split(".").pop() || "";
return SUPPORTED_IMG_FORMATS.includes(extension);
})
});

// only download the first 10 images
for (const url of urls.slice(0, 10)) {
Expand Down

0 comments on commit 5273982

Please sign in to comment.