Expand description
Warn when a saved baseline lands inside the fallow cache directory.
Fallow writes a .gitignore with * into its cache directory, so Git
ignores every file there. A baseline saved into that directory (for example
--save-baseline .fallow/dead-code.json) cannot be committed, and a CI run
on a fresh checkout does not find it.
Functionsยง
- warn_
if_ in_ cache_ dir - Print a warning to stderr when
baselineis insidecache_dir. A relativebaselineis relative to the working directory, like the write itself.