Skip to content

Do not fail in case return tag has no type specified #268

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
Jan 18, 2021

Conversation

tiandrey
Copy link
Contributor

Currently puppet-strings fails if function documentation tag return has no type specified with "NoMethodError: undefined method `first' for nil:NilClass", so you either have no return tag or have to duplicate function return type in return tag.
This PR allows you to omit specifying return type.

@tiandrey tiandrey requested a review from a team January 12, 2021 16:05
@DavidS DavidS merged commit 96c2d0e into puppetlabs:main Jan 18, 2021
@DavidS DavidS added the bugfix label Jan 18, 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.

3 participants