Skip to content

Commit

Permalink
Merge pull request #15 from NangoHQ/fix-pre-commit-and-script
Browse files Browse the repository at this point in the history
chore(templates): add command and export upgrade ignore
  • Loading branch information
khaliqgant authored Sep 26, 2024
2 parents 0cd14f7 + 3a11f20 commit 3bdf6fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
. "$(dirname -- "$0")/_/husky.sh"

node ./scripts/flows.js
npm run generate:tests
git add ./integrations/*/tests/*.test.ts
git add ./flows.yaml
npx lint-staged --allow-empty
2 changes: 2 additions & 0 deletions scripts/generate-integration-template-tests.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ else
cd ..
fi

export NANGO_CLI_UPGRADE_MODE=ignore

# Process each integration
for integration in "${integrations[@]}" ; do
if [ ! -d "./integrations/$integration/mocks" ]; then
Expand Down

0 comments on commit 3bdf6fd

Please sign in to comment.