Skip to content

Commit

Permalink
fix: invoke env in entry
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarJaroudi committed Sep 23, 2024
1 parent e544052 commit f1ba6bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,9 @@
- id: cspell
name: cspell
description: "Errors if there are spelling mistakes"
entry: cspell-cli
entry: env NPM_CONFIG_GLOBALCONFIG=./.npmrc cspell-cli
language: node
types: [text]
additional_dependencies: ["--globalconfig=./.npmrc"]
args:
- --no-must-find-files
- --no-progress
Expand Down

0 comments on commit f1ba6bf

Please sign in to comment.