Skip to content

Commit

Permalink
Merge pull request #44704 from Expensify/revert-44589-Rory-VerifyPatches
Browse files Browse the repository at this point in the history
Revert "[No QA] Fail patch-package on errors or warnings"
  • Loading branch information
AndrewGable authored Jul 1, 2024
2 parents f60f778 + faec573 commit 571a79d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 44 deletions.
39 changes: 0 additions & 39 deletions scripts/applyPatches.sh

This file was deleted.

7 changes: 2 additions & 5 deletions scripts/postInstall.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/bin/bash

# Exit immediately if any command exits with a non-zero status
set -e

# Go to project root
ROOT_DIR=$(dirname "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)")
cd "$ROOT_DIR" || exit 1

# Apply packages using patch-package
scripts/applyPatches.sh
# Run patch-package
npx patch-package

# Install node_modules in subpackages, unless we're in a CI/CD environment,
# where the node_modules for subpackages are cached separately.
Expand Down

0 comments on commit 571a79d

Please sign in to comment.