Skip to content

Commit 533d9e9

Browse files
committed
docs: commit to retrigger tests
1 parent fb37034 commit 533d9e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/shared/fileReadUtils.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export async function processFileForReading(
9999
requestedEndLine: number | undefined,
100100
rooIgnoreController: RooIgnoreController | undefined,
101101
): Promise<ProcessedFileReadResult> {
102-
// 1. Initial checks & setup
102+
// Initial checks & setup
103103
if (rooIgnoreController && !rooIgnoreController.validateAccess(relativePath)) {
104104
return {
105105
relativePath,
@@ -111,7 +111,7 @@ export async function processFileForReading(
111111
}
112112
}
113113

114-
// 2. Validate range parameters
114+
// Validate range parameters
115115
const baseErrorResult = {
116116
relativePath,
117117
totalLinesInFile: 0,
@@ -134,7 +134,7 @@ export async function processFileForReading(
134134
return { ...baseErrorResult, error: "start_line must be less than or equal to end_line" }
135135
}
136136

137-
// 3. Count lines and check for binary (moved after range validation)
137+
// Count lines and check for binary (moved after range validation)
138138
let totalLinesInFile = 0
139139
try {
140140
totalLinesInFile = await countFileLines(absolutePath)
@@ -164,13 +164,13 @@ export async function processFileForReading(
164164
wasRangeRead,
165165
}
166166

167-
// 2. Handle binary files
167+
// Handle binary files
168168
if (isBinary) {
169169
result.notice = "File is binary. Content display may be limited."
170170
return result
171171
}
172172

173-
// 3. Determine read strategy
173+
// Determine read strategy
174174
if (wasRangeRead) {
175175
// Range read logic
176176
const linesArray = await readLines(absolutePath, endLine0Based, startLine0Based)

0 commit comments

Comments
 (0)