forked from rodjek/puppet-lint
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Unhandled error - NoMethodError: undefined method `prev_token' for nil:NilClass #223
Labels
bug
Something isn't working
Comments
I ran into this as well on linux. I solved it by changes the end of line sequence on the file from CRLF to LF. My simplified example looked like this - Whoops! It looks like puppet-lint has encountered an error that it doesn't
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
Puppet-lint is not able to validate heredoc syntax
Expected Behavior
The heredoc format succeeds
Steps to Reproduce
Steps to reproduce the behavior:
Environment
Additional Context
Whoops! It looks like puppet-lint has encountered an error that it doesn't
know how to handle. Please open an issue at https://github.com/puppetlabs/puppet-lint
and paste the following output into the issue description.
puppet-lint version: 4.2.4
ruby version: 2.7.8-p225
platform: x64-mingw32
file path: C:/git/puppet/DEVOPS-3355_production_dev_pd_web_sa_SQL_LOGIN/puppet-main/site/profile/manifests/test.pp
file contents:
error:
The text was updated successfully, but these errors were encountered: