Skip to content

Commit

Permalink
fix(cna-template): use npx to invoke locally installed binaries (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 authored Apr 21, 2021
1 parent 0352862 commit a9844ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cna-template/template/nuxt/.husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

<%= pmRun %> commitlint --edit $1
<%= pmRun === 'yarn' ? 'yarn' : 'npx' %> commitlint --edit $1
2 changes: 1 addition & 1 deletion packages/cna-template/template/nuxt/.husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

<%= pmRun %> lint-staged
<%= pmRun === 'yarn' ? 'yarn' : 'npx' %> lint-staged

0 comments on commit a9844ee

Please sign in to comment.