Skip to content

Commit

Permalink
chore: broken logic
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Sep 29, 2024
1 parent 33cebea commit 39d853a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/puppeteer/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export async function createUnlighthouseWorker(tasks: Record<UnlighthouseTask, T
}
}

if (isImplicitOrExplicitHtml(path)) {
if (!isImplicitOrExplicitHtml(path)) {
logger.debug('Skipping non-HTML file from scanning', { path })
return
}
Expand Down

0 comments on commit 39d853a

Please sign in to comment.