lefthook-linux-arm64 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,13 +22,13 @@ A Git hooks manager for Node.js, Ruby, Python and many other types of projects.
22
22
  With **Go** (>= 1.26):
23
23
 
24
24
  ```bash
25
- go install github.com/evilmartians/lefthook/v2@v2.1.3
25
+ go install github.com/evilmartians/lefthook/v2@v2.1.4
26
26
  ```
27
27
 
28
28
  * or as a go tool
29
29
 
30
30
  ```bash
31
- go get -tool github.com/evilmartians/lefthook/v2@v2.1.3
31
+ go get -tool github.com/evilmartians/lefthook/v2@v2.1.4
32
32
  ```
33
33
 
34
34
  With **NPM**:
@@ -95,7 +95,7 @@ pre-commit:
95
95
  run: yarn eslint {staged_files}
96
96
 
97
97
  - name: lint backend
98
- run: bundle exec rubocop --force-exclusion {all_files}
98
+ run: bundle exec rubocop --force-exclusion -- {all_files}
99
99
 
100
100
  - name: stylelint frontend
101
101
  files: git diff --name-only HEAD @{push}
@@ -113,7 +113,7 @@ pre-commit:
113
113
  exclude:
114
114
  - "*/application.rb"
115
115
  - "*/routes.rb"
116
- run: bundle exec rubocop --force-exclusion {all_files}
116
+ run: bundle exec rubocop --force-exclusion -- {all_files}
117
117
  ```
118
118
 
119
119
  * ### **Execute in sub-directory**
@@ -125,7 +125,7 @@ pre-commit:
125
125
  - name: lint backend
126
126
  root: "api/" # Careful to have only trailing slash
127
127
  glob: "*.rb" # glob filter
128
- run: bundle exec rubocop {all_files}
128
+ run: bundle exec rubocop -- {all_files}
129
129
  ```
130
130
 
131
131
  * ### **Run scripts**
@@ -198,7 +198,7 @@ If you want to run specific group of commands directly.
198
198
  ```yml
199
199
  fixer:
200
200
  jobs:
201
- - run: bundle exec rubocop --force-exclusion --safe-auto-correct {staged_files}
201
+ - run: bundle exec rubocop --force-exclusion --safe-auto-correct -- {staged_files}
202
202
  - run: yarn eslint --fix {staged_files}
203
203
  ```
204
204
  ```bash
package/bin/lefthook CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lefthook-linux-arm64",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.",
5
5
  "preferUnplugged": false,
6
6
  "repository": {