Closed perryqh closed 5 months ago
We noticed that packs check doesn't report a violation as "stale" if the file no longer exists.
packs check
Example:
"::Item": violations: - dependency files: - packs/product_services/items/path/to/file_no_longer_exists.rb
If file_no_longer_exists.rb is deleted, pks check does not report it as stale.
file_no_longer_exists.rb
pks check
Consider a violation stale if the file does not exist
Background
We noticed that
packs check
doesn't report a violation as "stale" if the file no longer exists.Example:
If
file_no_longer_exists.rb
is deleted,pks check
does not report it as stale.Fix
Consider a violation stale if the file does not exist