react-native-community / upgrade-helper

⚛️ A web tool to support React Native developers in upgrading their apps.
https://react-native-community.github.io/upgrade-helper
MIT License
3.67k stars 112 forks source link

Fix path not properly being shown without `RnDiffApp` #291

Open lucasbento opened 3 years ago

lucasbento commented 3 years ago

Summary

There was some sort of change when generating releases that caused the diff to change as following:

image

Which led upgrade-helper to show the header as:

image

It seems like the lib we use for parsing diff doesn't like the lack of those initial characters so I had to add some replaces here and there as well as maintain the RnDiffApp replace for the previous versions.

Test Plan

What are the steps to reproduce?

Checklist