Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pankaj443 committed Jul 17, 2024
1 parent 5e86481 commit b40be13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export function decodeStoryArgs(value) {

// Borrows a percy discovery browser page to navigate to a URL and evaluate a function, returning
// the results and normalizing any thrown errors.
export async function* withPage(percy, url, callback, retry) {
export async function* withPage(percy, url, callback, retry, args) {
let log = logger('storybook:utils');
let attempt = 0;
let retries = 3;
Expand Down Expand Up @@ -195,9 +195,9 @@ export async function* withPage(percy, url, callback, retry) {
attempt++;
let shouldRetry = process.env.ENABLE_RETRY === 'true';
if (!shouldRetry || attempt === retries) {
throw error;
throw error;
}
log.warn(`Retrying Story: ${args.snapshotName}`)
log.warn(`Retrying Story: ${args.snapshotName}`);
}
}
}
Expand Down

0 comments on commit b40be13

Please sign in to comment.