diff options
author | Vincent Ambo <mail@tazj.in> | 2022-02-07T20·57+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-02-07T22·24+0000 |
commit | 18c8c41b5c2de5a08530b5185cefef86f6ffaff5 (patch) | |
tree | e93c47e381f14ce19ee7d7dd870feba8d464402e /tools | |
parent | 3452569ddd32646ddb63fd0d99c463e1f81ab244 (diff) |
fix(tools/depotfmt): clear cache when running checks r/3783
apparently the cache can get out-of-sync or something; either way we had a build where it missed a file that was misformated. Change-Id: I2967aec99ee1c7c8b978a3dfdfed4ff213bb6591 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5249 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depotfmt.nix | 1 |
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 . |