Detect output outside of package dir during analysis instead of execution
Open
- Dominant language
- TypeScript
- Stars
- 6.4k
- Forks
- 128
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
As a safety precaution, we refuse to clean output files if they are outside of the current script's package. However, it would be even better to catch this error earlier, in the Analyzer, by looking at the `output` glob patterns. We just need to be careful that we are parsing and analyzing the glob patterns correctly, accounting for negations, `{}` groups, and other special glob syntax.
Contributor guide
Assessment
This issue has not been assessed yet.