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

[codemod] Fix 5.0 codemods on Windows #27254

Merged
merged 2 commits into from Jul 13, 2021

Conversation

michaldudak
Copy link
Member

The latest 5.0 codemods' tests failed on Windows as they did not handle line endings properly. This PR fixes them.

@michaldudak michaldudak added the package: codemod Specific to @mui/codemod label Jul 13, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Jul 13, 2021

No bundle size changes (experimental)

Generated by 🚫 dangerJS against bf360af

@mnajdova
Copy link
Member

The latest 5.0 codemods' tests failed on Windows as they did not handle line endings properly. This PR fixes them.

🙌 Changes look good to me. Did you also verified that they still work on non-window's environment? Usually, when I fix Window's issues, I am breaking other environments 😄

@michaldudak
Copy link
Member Author

Yes, it seems to be fine on a mac as well :)

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@mnajdova mnajdova merged commit b20919f into mui:next Jul 13, 2021
@mnajdova
Copy link
Member

I've merged so that we can have it as part of the next release.

@michaldudak michaldudak deleted the codemod-windows-fix branch July 14, 2021 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: codemod Specific to @mui/codemod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants