Skip to content

Commit de6d9cc

Browse files
authored
chore(.husky): shell path and arg updates (#3422)
* chore(.husky): shell path and arg updates * chore(.husky): remove unnecessary .gitignore
1 parent b51f89d commit de6d9cc

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.husky/.gitignore

-1
This file was deleted.

.husky/commit-msg

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

44
node @commitlint/cli/lib/cli.js --edit $1

.husky/pre-commit

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

44
yarn lint-staged

0 commit comments

Comments
 (0)