Skip to content

Commit

Permalink
fix: provide full path when reverting changes of a repo (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq authored Nov 23, 2023
1 parent c897be7 commit 0ae5252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/repo-health-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ if [[ ${EDX_REPO_HEALTH_BRANCH} == 'master' && -z ${REPORT_DATE} ]]; then
for full_name in "${failed_repos[@]}"; do
OUTPUT_FILE_NAME="${full_name}${OUTPUT_FILE_POSTFIX}"
echo "reverting repo health data for ${OUTPUT_FILE_NAME}"
git checkout -- "individual_repo_data/${OUTPUT_FILE_NAME}"
git checkout -- "${WORKSPACE}/individual_repo_data/${OUTPUT_FILE_NAME}"
done
fi

Expand Down

0 comments on commit 0ae5252

Please sign in to comment.