fix(ui): satisfy vite alias lint guard

This commit is contained in:
Peter Steinberger
2026-05-31 01:08:30 +01:00
parent 16bae70af4
commit 9caefeaf08

View File

@@ -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;
}