Update weekly_stats.yaml

This commit is contained in:
Alexandre
2022-12-08 21:47:31 +01:00
committed by GitHub
parent 933da65e6d
commit 8539a39618

View File

@@ -56,7 +56,9 @@ jobs:
# Create line if not existing
if ! grep -q "$SLUG" Stats; then
sed -ie "\$a$SLUG" Stats
# shellcheck disable=SC2046
for i in $(seq $(head -n 1 Stats | tr -cd ' \t' | wc -c )); do
echo "$i"
sed -i "/$slug/s|^|- |" Stats
done
fi