```ruby
module Overcommit::Hook::CommitMsg
  # Ensures commit message subject lines are followed by a blank line.
  class CapitalizedSubject < Base
    def run
      first_letter = commit_message_lines[0].to_s.match(/^[[:punct:]]*(.)/)[1]
      unless first_letter.match(/[[:upper:]]/)
        return :warn, 'Subject should start with a capital letter'
      end

      :pass
    end
  end
end
```

Fix comment in CapitalizedSubject hook
user
```ruby
module Overcommit::Hook::CommitMsg
  # Ensures commit message subject lines start with a capital letter.
  class CapitalizedSubject < Base
    def run
      first_letter = commit_message_lines[0].to_s.match(/^[[:punct:]]*(.)/)[1]
      unless first_letter.match(/[[:upper:]]/)
        return :warn, 'Subject should start with a capital letter'
      end

      :pass
    end
  end
end
```
assistant