Closed MartinMuzatko closed 6 years ago
Hey, thanks for using sgc. Have you triedto write maxChar
instead of max-char
? Since v3.0.0
we changed that.
I just debugged the script, yes I need to use maxChar
. This worked :)
I'll commit a PR for the change in the docs
Thanks!
Anyways: there should be a proper error handling for this, this is a pretty bad hint at what is wrong :)
I'd propose something like: "The rule defined does not exist, look at the documentation to check valid rules"
that's actually an awesome idea. I hope @aichbauer or me have time soon to implement this.
I get this error when putting rules into my
.sgcrc
and then try a commit: