From 55d8fdd88546775a7f215517c6e5ac220fe4834b Mon Sep 17 00:00:00 2001 From: Cabecinha84 Date: Tue, 14 Jan 2025 16:11:37 +0000 Subject: [PATCH] eslint fix --- ZelBack/src/services/appsService.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ZelBack/src/services/appsService.js b/ZelBack/src/services/appsService.js index 482e802cf..0e4cc1146 100644 --- a/ZelBack/src/services/appsService.js +++ b/ZelBack/src/services/appsService.js @@ -4893,8 +4893,10 @@ async function checkAppSecrets(appName, appComponentSpecs, appOwner, registratio let foundSecretsWithSameAppName = false; let foundSecretsWithDifferentAppName = false; + // eslint-disable-next-line no-restricted-syntax for (const app of results) { if (app.version >= 7 && app.nodes.length > 0) { + // eslint-disable-next-line no-restricted-syntax for (const component of app.compose) { if (component.secrets && normalizeSecret(component.secrets) === appComponentSecrets) { if (registration) { @@ -4927,9 +4929,12 @@ async function checkAppSecrets(appName, appComponentSpecs, appOwner, registratio log.info(`checkAppSecrets - permanentAppMessages found: ${permanentAppMessages.length}`); const processedSecrets = new Set(); + // eslint-disable-next-line no-restricted-syntax for (const message of permanentAppMessages) { + // eslint-disable-next-line no-restricted-syntax for (const component of message.appSpecifications.compose) { const normalizedSecret = normalizeSecret(component.secrets || ''); + // eslint-disable-next-line no-continue if (processedSecrets.has(normalizedSecret)) continue; processedSecrets.add(normalizedSecret);