Workiva / Workiva/over_react_codemod
intl_migration: codemod errors if lib directory doesn't exist
Open
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 3
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
If the /lib directory doesn't exist, it errors out trying to put the intl class there. This can easily happen in e.g. app directories that have only /web
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the intl_migration codemod in an app directory containing /web but no /lib, and inspect where it writes the intl class. Confirm the failure and make the codemod handle the missing /lib directory; done means the migration completes successfully in that layout without breaking the usual case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100