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: regression with migrate command #1423

Closed
wants to merge 3 commits into from

Conversation

jamesgeorge007
Copy link
Member

@jamesgeorge007 jamesgeorge007 commented Apr 5, 2020

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
The migrate command expects a source config file to be passed in as an argument. And for the output, we can either have it as another file or overwrite the source. Added test cases covering these scenarios.

If relevant, did you update the documentation?
N/A

Summary
closes #1422

Does this PR introduce a breaking change?
Nope

Other information
N/A

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

Need test(s)

@webpack-bot
Copy link

@jamesgeorge007 Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@evilebottnawi Please review the new changes.

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

It is change webpack.config.js content after tests?

@jamesgeorge007
Copy link
Member Author

jamesgeorge007 commented Apr 6, 2020

It is change webpack.config.js content after tests?

That would require us to bypass the prompts for the entire process to complete. As of now, we're checking against the very first user prompt.

@alexander-akait
Copy link
Member

That would require us to bypass the prompts for the entire process to complete. As of now, we're checking against the very first user prompt.

We should do it, because other steps can be broken too

@jamesgeorge007 jamesgeorge007 force-pushed the hotfix/migrate branch 3 times, most recently from 7fdc5cd to ddb7622 Compare April 8, 2020 14:42
@jamesgeorge007 jamesgeorge007 force-pushed the hotfix/migrate branch 5 times, most recently from 03f6382 to 4447368 Compare April 20, 2020 12:39
@jamesgeorge007 jamesgeorge007 deleted the hotfix/migrate branch April 27, 2020 11:54
@jamesgeorge007
Copy link
Member Author

#1495

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.

Migrate functionality doesn't work as expected
4 participants