From cf2bac9d9f909f55efd65acf1b7ac6d86d4ecf2f Mon Sep 17 00:00:00 2001 From: MacFJA Date: Thu, 9 May 2024 05:10:20 +0200 Subject: [PATCH] Fix linting issue (#614) --- src/lib/utils/injectData.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/utils/injectData.ts b/src/lib/utils/injectData.ts index 41904cf1f..71f3a93ea 100644 --- a/src/lib/utils/injectData.ts +++ b/src/lib/utils/injectData.ts @@ -9,15 +9,11 @@ export const injectData = (input: z.infer = []; for (const item of input) { // Github - const githubIndex = Object.keys(github).find((key) => - normalize(item.repository) === key - ); + const githubIndex = Object.keys(github).find((key) => normalize(item.repository) === key); const githubExtra = github[githubIndex] ?? {}; // Gitlab - const gitlabIndex = Object.keys(gitlab).find((key) => - normalize(item.repository) === key - ); + const gitlabIndex = Object.keys(gitlab).find((key) => normalize(item.repository) === key); const gitlabExtra = gitlab[gitlabIndex] ?? {}; // NPM