Skip to content

Commit

Permalink
core: fix check for presence of all URL artifact fields (#15648)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored Dec 1, 2023
1 parent e77892c commit 0c7a019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/gather/navigation-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async function _navigation(navigationContext) {

// Every required url is initialized to an empty string in `getBaseArtifacts`.
// If we haven't set all the required urls yet, set them here.
if (!Object.values(phaseState.baseArtifacts).every(Boolean)) {
if (!Object.values(phaseState.baseArtifacts.URL).every(Boolean)) {
phaseState.baseArtifacts.URL = {
requestedUrl: navigateResult.requestedUrl,
mainDocumentUrl: navigateResult.mainDocumentUrl,
Expand Down

0 comments on commit 0c7a019

Please sign in to comment.