Skip to content

Commit 591c2d5

Browse files
authored
fix: rm debug log (#5)
1 parent 6c5be44 commit 591c2d5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/main/ts/ingrid.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ type TLineDigest = {
1515

1616
// eslint-disable-next-line sonarjs/cognitive-complexity
1717
export const parseLine = (line: string, sep = ' '): TLineDigest => {
18-
if (typeof line !== 'string') {
19-
console.error('wtf?', line)
20-
throw new Error('parseLine: line must be a string')
21-
}
18+
if (typeof line !== 'string') throw new Error('parseLine: line must be a string')
19+
2220
const result: TLineDigest = {
2321
spaces: [],
2422
words: []

0 commit comments

Comments
 (0)