Skip to content

Commit e924271

Browse files
author
Eric Wheeler
committed
hack: removed line numbers
1 parent a3f1a3f commit e924271

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/integrations/misc/extract-text.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ async function extractTextFromIPYNB(filePath: string): Promise<string> {
5555
}
5656

5757
export function addLineNumbers(content: string, startLine: number = 1): string {
58+
return content
59+
5860
// If content is empty, return empty string - empty files should not have line numbers
5961
// If content is empty but startLine > 1, return "startLine | " because we know the file is not empty
6062
// but the content is empty at that line offset

0 commit comments

Comments
 (0)