Skip to content

Skip read lines from empty file #556

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

Merged
merged 1 commit into from
Sep 10, 2021
Merged

Conversation

u5surf
Copy link
Contributor

@u5surf u5surf commented Sep 9, 2021

Description of your changes

Fixes #555:

I have:

How has this code been tested

I added the test case in TestReadLinesFromFile which empty file(testdata/empty.txt) reads actually.

Signed-off-by: yugo-horie <u5.horie@gmail.com>
Copy link
Member

@khos2ow khos2ow left a comment

Choose a reason for hiding this comment

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

Thanks @u5surf, lgtm.

@khos2ow
Copy link
Member

khos2ow commented Sep 10, 2021

There seems to be an issue with Netlify deploy, which is unrelated to this changeset here. I'm gonna merge this as is, thanks.

@khos2ow khos2ow merged commit 39b55d1 into terraform-docs:master Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

terraform-docs fails if terraform files are blank
2 participants