Skip to content

Commit 7fa8f58

Browse files
authored
chore: review husky prepare and pre-commit file (#206)
1 parent 1e4b115 commit 7fa8f58

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npm run test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"test": "npm run lint && npm run unit && npm run typescript && ts-node test/types/index.ts",
1717
"posttest": "npm run clean",
1818
"typescript": "tsd",
19-
"prepare": "husky install",
19+
"prepare": "husky",
2020
"clean": "rm -f orama_test* && rm -f *.msp",
2121
"preunit": "npm run clean",
2222
"unit": "c8 node --test --test-reporter spec",

0 commit comments

Comments
 (0)