mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-03 21:54:09 +00:00
fix(ui): satisfy vite alias lint guard
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user