From 92de8daba2029cadd831960a51e52ca84b341fbc Mon Sep 17 00:00:00 2001 From: Arman Date: Wed, 3 Jul 2024 15:57:24 +0200 Subject: [PATCH] fix linter? --- src/lib/components/filters/tagList.svelte | 2 +- .../functions/function-[function]/+page.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/filters/tagList.svelte b/src/lib/components/filters/tagList.svelte index f5bbf94f8..61192b938 100644 --- a/src/lib/components/filters/tagList.svelte +++ b/src/lib/components/filters/tagList.svelte @@ -8,7 +8,7 @@ } // We cast to any to not cause type errors in the input components - // eslint-disable-next-line @typescript-eslint/no-explicit-any + /* eslint @typescript-eslint/no-explicit-any: 'off' */ function isTypeTagValue(obj: any): obj is TagValue { if (typeof obj === 'string') return false; return ( diff --git a/src/routes/console/project-[project]/functions/function-[function]/+page.svelte b/src/routes/console/project-[project]/functions/function-[function]/+page.svelte index 26acb9637..84fa00555 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/+page.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/+page.svelte @@ -104,7 +104,7 @@ {/if} {#if data?.activeDeployment} - {@const activeDeployment = data?.activeDeployment} + {@const activeDeployment = data.activeDeployment}