Skip to content

Commit 6da41e6

Browse files
committed
chore: remove unused imports from extract-text.ts
Remove IndentationReadResult and MAX_LINE_LENGTH imports that were not being used, as flagged by the review bot.
1 parent 1c3ef7d commit 6da41e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/integrations/misc/extract-text.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import mammoth from "mammoth"
55
import fs from "fs/promises"
66
import { isBinaryFile } from "isbinaryfile"
77
import { extractTextFromXLSX } from "./extract-text-from-xlsx"
8-
import { readWithSlice, type IndentationReadResult } from "./indentation-reader"
9-
import { DEFAULT_LINE_LIMIT, MAX_LINE_LENGTH } from "../../core/prompts/tools/native-tools/read_file"
8+
import { readWithSlice } from "./indentation-reader"
9+
import { DEFAULT_LINE_LIMIT } from "../../core/prompts/tools/native-tools/read_file"
1010

1111
async function extractTextFromPDF(filePath: string): Promise<string> {
1212
const dataBuffer = await fs.readFile(filePath)

0 commit comments

Comments
 (0)