Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
revathySV committed Dec 5, 2024
1 parent 2a29445 commit 52056ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/src/percy.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,8 @@ export class Percy {
// replace arrays instead of merging
return Array.isArray(next) && [path, next];
});

const concurrency = this.config.discovery.concurrency;
const snapshotConcurrency = concurrency;
var snapshotConcurrency = concurrency;

Check warning on line 158 in packages/core/src/percy.js

View workflow job for this annotation

GitHub Actions / Lint

Unexpected var, use let or const instead
if (this.config.discovery.snapshotConcurrency) {
snapshotConcurrency = this.config.discovery.snapshotConcurrency;
}
Expand Down

0 comments on commit 52056ef

Please sign in to comment.