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
Oh before I forget, your install instruction seems to reference a misspelled version of your npm package. I had to search for it on the npm registry even though your prettierrc snippet listed it correctly.
Onto the parsing issue. Here is the smallest reproducible portion that caused the error I was seeing.
<%- if !!flash[:errors] %>
<%- flash[:errors].each do |error| %>
<p style="color: red"><%= error %></p>
<% end -%>
<% end -%>
You can see two attempts in my screenshot below.
Attempt using the code block as seen above
Attempt after removing the - from the erb start and end tags.
I can successfully run this plugin on some templates but not others
After looking at the source I figured it might be that the trimming notation on tags hasn't been catered for
https://www.puppet.com/docs/puppet/5.5/lang_template_erb#tags
The text was updated successfully, but these errors were encountered: