Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utterances aren't parsed if any line is empty #164

Closed
dwhieb opened this issue Oct 11, 2024 · 0 comments
Closed

Utterances aren't parsed if any line is empty #164

dwhieb opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels
bug Bugs

Comments

@dwhieb
Copy link
Member

dwhieb commented Oct 11, 2024

If any line in an utterance is empty, the utterance isn't parsed.

The culprit is here:

const noData = !Object.values(lines).every(Boolean)

This needs to be:

const noData = Object.values(lines).every(val => Boolean(val) === false)
@dwhieb dwhieb added the bug Bugs label Oct 11, 2024
@dwhieb dwhieb self-assigned this Oct 11, 2024
@dwhieb dwhieb closed this as completed in c9bd423 Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs
Projects
None yet
Development

No branches or pull requests

1 participant