Skip to content

Commit a7073cc

Browse files
authored
Fix pre-commit command for newer versions of node (#51)
* Fix pre-commit command for newer versions of node * increment version
1 parent e216724 commit a7073cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

git-hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
$(npm bin)/lint-staged -c ./node_modules/ddts/.lintstagedrc || exit 1
3+
npx lint-staged -c ./node_modules/ddts/.lintstagedrc || exit 1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ddts",
3-
"version": "3.0.3",
3+
"version": "3.0.4",
44
"main": ".eslintrc.json",
55
"scripts": {
66
"postinstall": "./install-hooks"

0 commit comments

Comments
 (0)