From 8f73c15f487b0fa1e8aa98c2752cdd1089c0c0ef Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 31 Oct 2024 14:16:34 -0700 Subject: [PATCH] feat: skip analytics update in check mode --- scripts/update-docs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/update-docs.sh b/scripts/update-docs.sh index 353da2b9e..8cd0863ff 100755 --- a/scripts/update-docs.sh +++ b/scripts/update-docs.sh @@ -9,7 +9,9 @@ else ARG=$1 fi -tail -1000 ~/.aider/analytics.jsonl > aider/website/assets/sample-analytics.jsonl +if [ "$ARG" != "--check" ]; then + tail -1000 ~/.aider/analytics.jsonl > aider/website/assets/sample-analytics.jsonl +fi # README.md before index.md, because index.md uses cog to include README.md cog $ARG \