fix: collect all missing pointer error#17
Conversation
|
@hyoban can you explain what does this solve? It's not clear what issue it fixes by not throwing immediately |
|
A file may have many missing references. If an error is thrown immediately, we cannot fix all errors at once; we can only fix the current error and rerun the script. |
|
Is there an easy way to write a test for this behavior? I know this package is in a bad shape so no worries if not. Do you have a spec you're testing with where you ran into this problem? |
|
Here is an example. Because of historical issues on the backend, it has a lot of reference errors. If we can't know all of them in advance, we can only fix them one by one. https://gist.github.com/hyoban/2779870e631b91085a66eef074646d20 |
|
🎉 This PR is included in version 1.2.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
When the original file has many errors, we need to run it multiple times.