feat: skip analytics update in check mode

This commit is contained in:
Paul Gauthier (aider) 2024-10-31 14:16:34 -07:00
parent 17330e53c3
commit 8f73c15f48

View file

@ -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 \