cloudfour / lighthouse-parade

A Node.js command line tool that crawls a domain and gathers lighthouse performance data for every page.
MIT License
358 stars 14 forks source link

Fix crawling when --include-path-glob is not passed #103

Closed calebeby closed 2 years ago

calebeby commented 2 years ago

https://github.com/cloudfour/lighthouse-parade/pull/99 made it so that when --include-path-glob is passed, the initial URL is automatically included as well. But, that PR broke the behavior when --include-path-glob was not passed. It made it so that the initial URL was implicitly the include-path-glob option, meaning that other URLs were not included.

This PR fixes that.

Testing:

Closes #102

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 3cdcd79a32f62e9efc897532180c74336c3b1062

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | lighthouse-parade | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR