Skip to content

Commit

Permalink
Merge pull request #54355 from callstack-internal/pac-guerreiro/fix/5…
Browse files Browse the repository at this point in the history
…4108-patch-failed-but-succeeded-message-is-shown
  • Loading branch information
mountiny authored Dec 22, 2024
2 parents 7078986 + 034b313 commit e85dc90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/applyPatches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ function patchPackage {
OS="$(uname)"
if [[ "$OS" == "Darwin" || "$OS" == "Linux" ]]; then
npx patch-package --error-on-fail --color=always
EXIT_CODE=$?
if [[ "$IS_HYBRID_APP_REPO" == "true" && "$NEW_DOT_FLAG" == "false" ]]; then
echo -e "\n${GREEN}Applying HybridApp patches!${NC}"
npx patch-package --patch-dir 'Mobile-Expensify/patches' --error-on-fail --color=always
EXIT_CODE+=$?
fi
exit $EXIT_CODE
else
error "Unsupported OS: $OS"
exit 1
Expand Down

0 comments on commit e85dc90

Please sign in to comment.