fix(ui): satisfy vite alias lint guard · openclaw/openclaw@9caefea
openclaw
·
2026-05-31
·
via Recent Commits to openclaw:main
ui/vite.config.ts
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|
@@ -119,10 +119,7 @@ function resolveTsconfigPathAlias(key: string, target: string): ControlUiViteAli
|
119 | 119 | }; |
120 | 120 | } |
121 | 121 | |
122 | | -if ( |
123 | | -key.indexOf("*", keyWildcardIndex + 1) !== -1 || |
124 | | -target.indexOf("*", targetWildcardIndex + 1) !== -1 |
125 | | -) { |
| 122 | +if (key.includes("*", keyWildcardIndex + 1) || target.includes("*", targetWildcardIndex + 1)) { |
126 | 123 | return null; |
127 | 124 | } |
128 | 125 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。