-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20488 from Expensify/Rory-FixLint
[No QA] Fix broken lint
- Loading branch information
Showing
3 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# Go to project root | ||
ROOT_DIR=$(dirname "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)") | ||
cd "$ROOT_DIR" || exit 1 | ||
|
||
# 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. | ||
# See `.github/actions/composite/setupNode/action.yml` for more context. | ||
if [[ -n ${CI+x} ]]; then | ||
cd desktop || exit 1 | ||
npm install | ||
fi |