@pubinfo-pr/commitlint 0.223.1 → 0.225.1
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.
- package/dist/lint.message.mjs +1 -1
- package/package.json +1 -1
package/dist/lint.message.mjs
CHANGED
|
@@ -349,7 +349,7 @@ function runSimpleGitHooks(script = "pubinfo-commit", cwd = process.cwd(), enabl
|
|
|
349
349
|
const raw = fs.readFileSync(pkgPath, "utf8");
|
|
350
350
|
const json = JSON.parse(raw);
|
|
351
351
|
const hooks = json["simple-git-hooks"] || {};
|
|
352
|
-
const desiredPre = "pnpm lint-staged
|
|
352
|
+
const desiredPre = "pnpm lint-staged";
|
|
353
353
|
const desiredCommitMsg = `pnpm exec ${script} --edit $1`;
|
|
354
354
|
if (hooks["pre-commit"] !== desiredPre) hooks["pre-commit"] = desiredPre;
|
|
355
355
|
if (hooks["commit-msg"] !== desiredCommitMsg) hooks["commit-msg"] = desiredCommitMsg;
|