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

Handle export when format is an empty array #116

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

jcoyne
Copy link
Member

@jcoyne jcoyne commented Feb 5, 2024

Fixes #114

format = format.downcase.strip unless format.nil?

export_text = ""
if format == 'book'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all of this is just changes to the indent.

@marlo-longley marlo-longley merged commit 10db3b2 into main Feb 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NoMethodError: undefined method `downcase' for nil:NilClass
2 participants