@pubinfo-pr/commitlint 0.182.2 → 0.182.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/run.js +1 -1
  2. package/package.json +1 -1
package/dist/run.js CHANGED
@@ -56,7 +56,7 @@ const main = defineCommand({
56
56
  const cwd = process.cwd();
57
57
  if (!enabled) {
58
58
  const removedDefault = runSimpleGitHooks("pubinfo-commit", cwd, false);
59
- const removedCli = runSimpleGitHooks("pubinfo commit", cwd, false);
59
+ const removedCli = runSimpleGitHooks("pubinfo-pr commit", cwd, false);
60
60
  const disabledHooks = configureGitHooksPath(false, cwd);
61
61
  if (removedDefault || removedCli || disabledHooks) console.log("[pubinfo-commit] 检测到 pubinfo.config 中已关闭 commitlint,已停用 git hooks。");
62
62
  else console.log("[pubinfo-commit] 检测到 pubinfo.config 中已关闭 commitlint,跳过初始化。");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo-pr/commitlint",
3
3
  "type": "module",
4
- "version": "0.182.2",
4
+ "version": "0.182.4",
5
5
  "description": "commitlint config for Pubinfo projects",
6
6
  "exports": {
7
7
  ".": "./dist/index.js"