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 bundle options query params #740

Merged
merged 4 commits into from May 12, 2020
Merged

Conversation

TMaszko
Copy link
Contributor

@TMaszko TMaszko commented May 12, 2020

Summary

There was an error with unspecified query params (minify or dev) and error was thrown after second request because for the first time bundle options were set but weren't checked. Second request and query params were checked against previously set options + default options. If option wasn't specified then its value was undefined and because we are using default options for check it always will fail.

Test plan

Added e2e tests for unspecified options

@TMaszko TMaszko requested a review from zamotany May 12, 2020 12:12
@zamotany zamotany merged commit 5ef5217 into master May 12, 2020
@zamotany zamotany deleted the fix/bundle-options-query-params branch May 12, 2020 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants