treefmt/cli
Brian McGee 42decbfafb
fix: --no-cache
Separates out the logic for detecting changes from the logic for updating the cache, fixing the case where both `--fail-on-change` and `--no-cache` are enabled.

Signed-off-by: Brian McGee <brian@bmcgee.ie>
Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-07-05 21:52:34 +01:00
..
cli.go fix: --no-cache 2024-07-05 16:11:22 +01:00
format_test.go fix: --no-cache 2024-07-05 16:11:22 +01:00
format.go fix: --no-cache 2024-07-05 21:52:34 +01:00
helpers_test.go cli: remove global state, init function usage 2024-06-06 20:28:37 +02:00
mappers.go cli: remove global state, init function usage 2024-06-06 20:28:37 +02:00