From 744f0a771f43fb33f38527d8453b5b303350fcc2 Mon Sep 17 00:00:00 2001 From: Pradum Kumar Date: Mon, 28 Oct 2024 12:04:03 +0530 Subject: [PATCH] fixing warning for lables (#1768) --- 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) {