Fix extra newline in module.csv generation in cron ci (#5591)

This commit is contained in:
Ashwin Naren authored and GitHub committed 2025-03-10 11:43:26 +09:00
1 parent 97853bf0f1
commit bae0ad3aeb
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ jobs:
[ -f ./_data/whats_left.temp ] && cp ./_data/whats_left.temp ./_data/whats_left_lastrun.temp
cp ../whats_left.temp ./_data/whats_left.temp
rm ./_data/whats_left/modules.csv
echo -e "modules\n" > ./_data/whats_left/modules.csv
echo -e "modules" > ./_data/whats_left/modules.csv
cat ./_data/whats_left.temp | grep "(entire module)" | cut -d ' ' -f 1 | sort >> ./_data/whats_left/modules.csv
git add -A
if git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update what is left results" --author="$GITHUB_ACTOR"; then