From f72e3b47784f57933a471f3b21e9fce4bdb994ff Mon Sep 17 00:00:00 2001 From: prklm10 Date: Mon, 28 Oct 2024 11:54:29 +0530 Subject: [PATCH] fixing warning for lables --- packages/core/src/percy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/percy.js b/packages/core/src/percy.js index a534d9dfd..6276ccb28 100644 --- a/packages/core/src/percy.js +++ b/packages/core/src/percy.js @@ -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) {