Skip to content

Commit

Permalink
fixing warning for lables (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
prklm10 authored Oct 28, 2024
1 parent ce2a7ff commit 744f0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/percy.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export class Percy {

// normalize, migrate, and remove certain properties from validating
options = PercyConfig.migrate(options, '/comparison');
let { clientInfo, environmentInfo, ...comparison } = options;
let { clientInfo, environmentInfo, labels, ...comparison } = options;
let errors = PercyConfig.validate(comparison, '/comparison');

if (errors?.length > 0) {
Expand Down

0 comments on commit 744f0a7

Please sign in to comment.