Skip to content

Commit

Permalink
adding npx to run the tsx command
Browse files Browse the repository at this point in the history
  • Loading branch information
yugal07 committed Jan 18, 2025
1 parent f8d20e3 commit 0e62ab8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Check for localStorage Usage
run: |
chmod +x scripts/githooks/check-localstorage-usage.ts
tsx scripts/githooks/check-localstorage-usage.ts --scan-entire-repo
npx tsx scripts/githooks/check-localstorage-usage.ts --scan-entire-repo
- name: Compare translation files
run: |
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{

Check warning on line 1 in .lintstagedrc.json

View workflow job for this annotation

GitHub Actions / Performs linting, formatting, type-checking, checking for different source and target branch

File ignored by default.
"**/*.{ts,tsx,yml}": "eslint --fix",
"**/*.{ts,tsx,json,scss,css,yml}": "prettier --write",
"**/*.{ts,tsx}": "tsx scripts/githooks/check-localstorage-usage.ts"
"**/*.{ts,tsx}": "npx tsx scripts/githooks/check-localstorage-usage.ts"
}

0 comments on commit 0e62ab8

Please sign in to comment.