Improve wildcard tracing to include fallback
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
Today we can trace this correctly and include the file.json file:
path.join(process.cwd(), 'file.json')
However, we fail to include the file.json fallback in this case:
path.join(process.cwd(), filePath || 'file.json')
Contributor guide
No contributing guide indexed for this repository
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 with the wildcard tracing logic handling the path.join(process.cwd(), ...) examples and reproduce both snippets. Done means tracing includes file.json for both the direct argument and the filePath || 'file.json' fallback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100