Skip to content

Commit

Permalink
fix: correct eol
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Kulebaev committed May 25, 2024
1 parent d673b26 commit e475556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ export const chunkedArray = <T>(array: Array<T>, size: number) => {
}

function splitByNewLine(str: string): string[] {
return str.split('\n')
return str.split(os.EOL)
}

0 comments on commit e475556

Please sign in to comment.