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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(print): fix print for NullLiteral #725

Merged

Conversation

VincentMolinie
Copy link
Contributor

@VincentMolinie VincentMolinie commented Jan 10, 2022

@bmish I tried with this fix it seems the test for PR ember-template-lint/ember-template-lint#2271 on {{contact-null null}} pass. I don't know how it was working before 馃

@VincentMolinie
Copy link
Contributor Author

@dcyriller may be you can help me 馃懠

package.json Outdated Show resolved Hide resolved
src/parse-result.test.ts Outdated Show resolved Hide resolved
VincentMolinie and others added 2 commits January 12, 2022 15:51
Co-authored-by: Bryan Mishkin <698306+bmish@users.noreply.github.com>
@VincentMolinie
Copy link
Contributor Author

It's never passing into my code. My test is actually wrong 馃槥

@VincentMolinie
Copy link
Contributor Author

I finally found a way to reproduce the issue. It's when you are deleting or setting something on the node NullLiteral. in my case I was doing a delete node._globalNode

src/parse-result.test.ts Outdated Show resolved Hide resolved
src/parse-result.test.ts Outdated Show resolved Hide resolved
src/parse-result.test.ts Outdated Show resolved Hide resolved
@VincentMolinie
Copy link
Contributor Author

I can't merge. I let you do it 馃懠

@VincentMolinie
Copy link
Contributor Author

@bmish can you merge it and create a patch ? 馃檹

@bmish
Copy link
Member

bmish commented Jan 14, 2022

@dcyriller want to release it? If you can't get to it, I might be able to try later today.

@dcyriller dcyriller added the bug Something isn't working label Jan 14, 2022
@dcyriller dcyriller merged commit 4e2f3a0 into ember-template-lint:master Jan 14, 2022
@dcyriller
Copy link
Member

It is released in v6.1.3

@VincentMolinie VincentMolinie deleted the fix/null-literal-print branch January 15, 2022 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants