alexevanczuk / packs

A pure Rust implementation of packwerk, a gradual modularization tool for Ruby
MIT License
70 stars 7 forks source link

Providing a better check_unnecessary_dependencies error message #173

Closed perryqh closed 6 months ago

perryqh commented 6 months ago

Background

When the check-unnecessary-dependencies command finds unnecessary dependencies, it prints List unnecessary dependencies failed. This message can be confusing in that it might be unintentionally communicating that the command itself failed rather than unnecessary dependencies were found.

Change

Updates the message to clearly communicate that unnecessary dependencies were found.