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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Empty <amp-experiment> blocks boilerplate removal #581

Merged
merged 3 commits into from
Jan 24, 2020

Conversation

sebastianbenz
Copy link
Collaborator

Fixes #578

@sebastianbenz
Copy link
Collaborator Author

@schlessera PTAL

Copy link
Collaborator

@schlessera schlessera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic is inverted.

Also, two of the spec files need to be adapted as their tags are empty, which should not be enough for the scenario they test:

packages/optimizer/lib/transformers/ServerSideRendering.js Outdated Show resolved Hide resolved
@sebastianbenz
Copy link
Collaborator Author

Hah! Fooled myself there. Thanks for noticing. Should be fixed now. I've also added more tests and improved the test names. @schlessera PTAL

@schlessera
Copy link
Collaborator

LGTM!

@sebastianbenz sebastianbenz merged commit c303ec8 into master Jan 24, 2020
@sebastianbenz
Copy link
Collaborator Author

Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty <amp-experiment> blocks boilerplate removal
3 participants