From 9caefeaf08cbbd1215adce42bfbb4e3ed9eef239 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 31 May 2026 01:08:30 +0100 Subject: [PATCH] fix(ui): satisfy vite alias lint guard --- ui/vite.config.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 3bafb41b6a2..79ebdc69bf3 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -119,10 +119,7 @@ function resolveTsconfigPathAlias(key: string, target: string): ControlUiViteAli }; } - if ( - key.indexOf("*", keyWildcardIndex + 1) !== -1 || - target.indexOf("*", targetWildcardIndex + 1) !== -1 - ) { + if (key.includes("*", keyWildcardIndex + 1) || target.includes("*", targetWildcardIndex + 1)) { return null; }