[chore] propagate error up (#841)

Co-authored-by: Joao Grassi <5938087+joaopgrassi@users.noreply.github.com>
This commit is contained in:
Alexandra Konrad 2024-03-28 10:34:17 +01:00 committed by GitHub
parent 2541b87236
commit 0e2eca51cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ echo -e "The replacement text will be:"
echo -e "---------------------------------------------\n" echo -e "---------------------------------------------\n"
echo -e $replacement echo -e $replacement
find ${TEMPLATES_DIR} -type f -name '*.yaml' -exec sed -i "/$START_AREA_LIST/,/$END_AREA_LIST/c\\$replacement" {} \; find ${TEMPLATES_DIR} -type f -name '*.yaml' -print0 | xargs -0 sed -i "/$START_AREA_LIST/,/$END_AREA_LIST/c\\$replacement"
echo -e "\nISSUE_TEMPLATES updated successfully" echo -e "\nISSUE_TEMPLATES updated successfully"
echo -e "---------------------------------------------" echo -e "---------------------------------------------"