Skip to content

Commit

Permalink
Fixes 2343 CSV error with no text splitter (FlowiseAI#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
automaton82 authored May 7, 2024
1 parent d4a5474 commit 43b2247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/nodes/documentloaders/Csv/Csv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Csv_DocumentLoaders implements INode {
if (textSplitter) {
docs.push(...(await loader.loadAndSplit(textSplitter)))
} else {
docs.push(...(await loader.loadAndSplit(textSplitter)))
docs.push(...(await loader.load()))
}
}
} else {
Expand Down

0 comments on commit 43b2247

Please sign in to comment.