Skip to content

Commit 7969b97

Browse files
fix(scripts): resolve Windows compatibility issue in husky prepare script (#279)
Co-authored-by: neverland <[email protected]>
1 parent f0377d8 commit 7969b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build:rspack": "pnpm --filter \"example-*\" build",
1212
"test:rspack": "pnpm --filter \"example-*\" test",
1313
"build:rspress": "pnpm --filter \"rspress-*\" build",
14-
"prepare": "husky 2>/dev/null || true",
14+
"prepare": "husky",
1515
"sort-package-json": "npx sort-package-json \"rspack/*/package.json\" \"rsbuild/*/package.json\" \"rspress/*/package.json\" \"rsdoctor/*/package.json\""
1616
},
1717
"lint-staged": {

0 commit comments

Comments
 (0)