| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
It looks like the flow type was inaccurate, according to https://addons-server.readthedocs.io/en/latest/topics/api/addons.html#version-detail-object (license.name is nullable). I changed the Flow type in the 3rd commit but Flow did not complain when I reverted the other commits, so even with the right Flow type, we could have missed this issue. There is another occurrence of license.name that we could change in a separate patch (assuming this one becomes a hotfix). |
Sorry, something went wrong.
There was a problem hiding this comment.
r+wc, this looks good.
We should also fix replaceStringsWithJSX() so it handles this case more gracefully. We can do that in a separate issue.
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master mozilla/addons-frontend#7910 +/- ##
=======================================
Coverage 98.04% 98.04%
=======================================
Files 258 258
Lines 7151 7151
Branches 1323 1324 +1
=======================================
Hits 7011 7011
Misses 126 126
Partials 14 14
Continue to review full report at Codecov.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes mozilla/addons#13130