You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Digging further, this appears to result from trailing whitespace on the closing heredoc tag which was either missed/corrected when updating the tokens. If the closing token is EOF<space> but the opening is @("EOF") the above scenario should trigger.
Describe the Bug
If a manifest file contains more than one heredoc with the same "token" the linter is unable to track and errors out.
Expected Behavior
Ideally the linter would be able to track each token pair in the heredocs. as a work around, the token can be changed in subsequent pairs.
Environment
Additional Context
command:
puppet-lint --no-variable_scope-check --no-documentation-check --no-autoloader_layout-check --log-format "%{path}:%{line}:%{check}:%{KIND}:%{message}" ./manifests/
minimal file to reproduce
workaround file
backtrace/error log
The text was updated successfully, but these errors were encountered: