[ci] yarn format

This commit is contained in:
matthewp 2021-07-28 18:08:27 +00:00 committed by GitHub Actions
parent 23b0d2d345
commit 189098b6e5
2 changed files with 3 additions and 3 deletions

View file

@ -301,7 +301,7 @@ export function findDeps(html: string, { astroConfig, srcPath }: { astroConfig:
$('img[srcset]').each((_i, el) => {
const srcset = $(el).attr('srcset') || '';
const sources = srcset.split(',');
const srces = sources.map(s => s.trim().split(' ')[0]);
const srces = sources.map((s) => s.trim().split(' ')[0]);
for (const src of srces) {
pageDeps.images.add(getDistPath(src, { astroConfig, srcPath }));
}