Skip to content

Commit a0b731b

Browse files
committed
fix: format analyzer hint wiring
1 parent d45e040 commit a0b731b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,10 +1256,7 @@ async function performIndexingOnce(
12561256
...(project.runtimeOverrides.extraExcludePatterns?.length
12571257
? {
12581258
config: {
1259-
exclude: [
1260-
...EXCLUDED_GLOB_PATTERNS,
1261-
...project.runtimeOverrides.extraExcludePatterns
1262-
]
1259+
exclude: [...EXCLUDED_GLOB_PATTERNS, ...project.runtimeOverrides.extraExcludePatterns]
12631260
}
12641261
}
12651262
: {}),

src/server/config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ export async function loadServerConfig(): Promise<ServerConfig | null> {
6969

7070
if (Array.isArray(config.projects)) {
7171
result.projects = (config.projects as unknown[])
72-
.filter((project): project is Record<string, unknown> => typeof project === 'object' && project !== null)
72+
.filter(
73+
(project): project is Record<string, unknown> =>
74+
typeof project === 'object' && project !== null
75+
)
7376
.map((project) => {
7477
const rawRoot = typeof project.root === 'string' ? project.root.trim() : '';
7578
if (!rawRoot) {

0 commit comments

Comments
 (0)