class Coauthor::Git::Commit
Public Class Methods
call()
click to toggle source
# File lib/coauthor/git/commit.rb, line 7 def self.call return system("git commit --template #{PAIR_CONFIG_FILE}") if File.file?(PAIR_FILE_PATH) puts('Run `coauthor setup` before committing with Coauthor').colorize(:red) end