Skip to content

Commit e218859

Browse files
committed
fix: satisfy lint in index
1 parent 21c3e43 commit e218859

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ export function registerHandlers(target: Server): void {
906906
type: 'text',
907907
text: JSON.stringify({
908908
status: 'indexing',
909-
message: 'Index build in progress please retry shortly'
909+
message: 'Index build in progress - please retry shortly'
910910
})
911911
}
912912
]
@@ -933,7 +933,7 @@ export function registerHandlers(target: Server): void {
933933
type: 'text',
934934
text: JSON.stringify({
935935
status: 'indexing',
936-
message: 'Index rebuild in progress please retry shortly',
936+
message: 'Index rebuild in progress - please retry shortly',
937937
index: indexSignal
938938
})
939939
}
@@ -1014,7 +1014,7 @@ function buildResources(): Resource[] {
10141014
return resources;
10151015
}
10161016

1017-
async function generateCodebaseContext(project: ProjectState): Promise<string> {
1017+
async function _generateCodebaseContext(project: ProjectState): Promise<string> {
10181018
const intelligencePath = project.paths.intelligence;
10191019

10201020
const index = await ensureValidIndexOrAutoHeal(project);
@@ -1036,7 +1036,7 @@ async function generateCodebaseContext(project: ProjectState): Promise<string> {
10361036
lines.push('');
10371037
lines.push(
10381038
`Index: ${index.status} (${index.confidence}, ${index.action})${
1039-
index.reason ? ` ${index.reason}` : ''
1039+
index.reason ? ` - ${index.reason}` : ''
10401040
}`
10411041
);
10421042
lines.push('');
@@ -1574,14 +1574,14 @@ function ensureProjectWatcher(project: ProjectState, debounceMs: number): void {
15741574
if (!shouldRunNow) {
15751575
if (process.env.CODEBASE_CONTEXT_DEBUG) {
15761576
console.error(
1577-
`[file-watcher] Index in progress queueing auto-refresh: ${project.rootPath}`
1577+
`[file-watcher] Index in progress - queueing auto-refresh: ${project.rootPath}`
15781578
);
15791579
}
15801580
return;
15811581
}
15821582
if (process.env.CODEBASE_CONTEXT_DEBUG) {
15831583
console.error(
1584-
`[file-watcher] Changes detected incremental reindex starting: ${project.rootPath}`
1584+
`[file-watcher] Changes detected - incremental reindex starting: ${project.rootPath}`
15851585
);
15861586
}
15871587
void performIndexing(project, true);

0 commit comments

Comments
 (0)