pre-git icon indicating copy to clipboard operation
pre-git copied to clipboard

Error when trying to commit

Open deser opened this issue 9 years ago • 1 comments

Error: missing wizard prompter validate-commit-msg { "config": {} } at lazyAssLogic (\node_modules\pre-git\node_modules\lazy-ass\index.js:93:14) at lazyAss (\node_modules\pre-git\node_modules\lazy-ass\index.js:98:28) at Object.pickWizard as wizard at Object. (\node_modules\pre-git\bin\commit-msg.js:11:23) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10) at startup (node.js:134:18) at node.js:961:3

Settings are the next: "config": { "pre-git": { "commit-msg": "validate-commit-msg", "pre-commit": [ "npm run lint", "npm run testonly" ] } }

pre-git has 3.8.3 version

deser avatar Apr 07 '16 17:04 deser

Could you switch from "commit-msg": "validate-commit-msg" to "commit-msg": "simple" ?

bahmutov avatar Apr 19 '16 12:04 bahmutov