Update weekly_stats.yaml

This commit is contained in:
Alexandre
2022-12-08 22:13:21 +01:00
committed by GitHub
parent c43d2d8ce8
commit 8a9f1908e7

View File

@@ -56,7 +56,7 @@ jobs:
echo "$SLUG $DOWNLOADS $COUNT1 $COUNT2 $COUNT3" >> "$file"2
# Create line if not existing
if ! grep -q "$SLUG" "$file"; then
sed -ie "\$a$SLUG" "$file"
sed -i "\$a$SLUG" "$file"
# shellcheck disable=SC2046
for i in $(seq $(head -n 1 $file | tr -cd ' \t' | wc -c )); do
echo "$i"