File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ const (
1414 HOTFIX CommitType = "hotfix"
1515)
1616
17+ const commitWarn = "✔ Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
18+
1719const commitMessagePattern = `^(feat|fix|docs|style|refactor|test|chore|perf|hotfix)\((\S.*)\):\s(\S.*)|^Merge.*`
1820
1921const commitBodyEditPattern = `^\/\/\s*(?i)edit`
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ func commit() error {
158158 return err
159159 }
160160
161- fmt .Println ("\n ✔ Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." )
161+ fmt .Println ("\n " + common . FontColor ( commitWarn , "2" ) )
162162
163163 return nil
164164}
You can’t perform that action at this time.
0 commit comments