about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tools/depotfmt.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/depotfmt.nix b/tools/depotfmt.nix
index 2d70c3f2b9cf..21e71bf3b66b 100644
--- a/tools/depotfmt.nix
+++ b/tools/depotfmt.nix
@@ -38,6 +38,7 @@ let
   # wrapper script for running formatting checks in CI
   check = pkgs.writeShellScript "depotfmt-check" ''
     ${pkgs.treefmt}/bin/treefmt \
+      --clear-cache \
       --fail-on-change \
       --config-file ${config} \
       --tree-root .