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

Fix handling of empty code #469

Merged
merged 1 commit into from
Jun 24, 2016
Merged

Fix handling of empty code #469

merged 1 commit into from
Jun 24, 2016

Conversation

hanazuki
Copy link
Contributor

When you pass an empty file (of zero bytes) to the puppet-lint --fix command,
puppet-lint generates a strange file with its content being [], which cannot be parsed by Puppet.

This patch fixes this problem.

When you pass an empty file (of zero bytes) to the `puppet-lint --fix` command,
puppet-lint generates a strange file with its content being `[]`, which cannot be parsed by Puppet.

This patch fixes this problem.
@kylog kylog merged commit 82069bc into rodjek:master Jun 24, 2016
@kylog
Copy link
Collaborator

kylog commented Jun 24, 2016

@hanazuki good catch. Thanks!!

@hanazuki hanazuki deleted the fix-empty-code branch June 25, 2016 15:37
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.

2 participants