From 84eeabf77e51c08fe83e0f0f4bafbed25e58da9f Mon Sep 17 00:00:00 2001 From: Doriel Rivalet <100863878+DorielRivalet@users.noreply.github.com> Date: Fri, 4 Aug 2023 06:59:06 -0300 Subject: [PATCH] fix(scripts): fix lua file --- .github/workflows/automate-git-stats.yml | 3 ++- scripts/rename_emails.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/automate-git-stats.yml b/.github/workflows/automate-git-stats.yml index 8a1107ed..b60e5606 100644 --- a/.github/workflows/automate-git-stats.yml +++ b/.github/workflows/automate-git-stats.yml @@ -90,7 +90,8 @@ jobs: run: | mkdir ./scripts/input git log --numstat > ./scripts/input/git.txt - echo "Total lines in git text file: " << wc -l < ./scripts/input/git.txt + echo "Total lines in git text file: " + wc -l < ./scripts/input/git.txt - name: Anonymize emails run: | diff --git a/scripts/rename_emails.lua b/scripts/rename_emails.lua index 50d2c35f..3ea90ff1 100644 --- a/scripts/rename_emails.lua +++ b/scripts/rename_emails.lua @@ -4,6 +4,7 @@ print('Renaming emails...') local current_dir = lfs.currentdir() print(current_dir) +local input_folder = './input' local input_file = './input/git.txt' local output_file = './input/git_anonymized.txt' local keep_email = '100863878+DorielRivalet@users.noreply.github.com'