From e91e1d745db4bff477254ab252b70742a228c8bb Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Fri, 29 Sep 2023 11:23:56 +0530 Subject: [PATCH] chore: test pr failure if linting are skiiped locally --- src/v0/destinations/mp/transform.js | 1 - src/v0/destinations/mp/util.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/v0/destinations/mp/transform.js b/src/v0/destinations/mp/transform.js index bdae00e1c2..3f539b1b0a 100644 --- a/src/v0/destinations/mp/transform.js +++ b/src/v0/destinations/mp/transform.js @@ -96,7 +96,6 @@ const responseBuilderSimple = (payload, message, eventType, destConfig) => { } break; case 'merge': - // eslint-disable-next-line no-case-declarations const credentials = setImportCredentials(destConfig); response.endpoint = credentials.endpoint; response.headers = credentials.headers; diff --git a/src/v0/destinations/mp/util.js b/src/v0/destinations/mp/util.js index 35c530855e..19f8e4af7d 100644 --- a/src/v0/destinations/mp/util.js +++ b/src/v0/destinations/mp/util.js @@ -143,7 +143,6 @@ const isImportAuthCredentialsAvailable = (destination) => const findExistingBatch = (batch, metadataMap) => { let existingBatch = null; - // eslint-disable-next-line no-restricted-syntax for (const metadataItem of batch.metadata) { if (metadataMap.has(metadataItem.jobId)) { existingBatch = metadataMap.get(metadataItem.jobId);