Skip to content

Commit

Permalink
fix: Do not rewrite husky npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Aug 11, 2024
1 parent cf201c6 commit f0b1b85
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/modify-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ function configure(command, impl, strict = true) {
configure('lint', 'lint update && lint');
configure('lint:fix', 'lint update && lint fix');
configure('pre-commit', 'lint update && lint-staged');
configure('prepare', 'husky install || true', false);

writeFileSync(filename, JSON.stringify(pkg, null, 2), 'utf8');

0 comments on commit f0b1b85

Please sign in to comment.