- def non_gitee_commit(url)
- url_fdback = %x(curl #{url})
- email_index = url_fdback.index @my_info['my_email']
- return unless email_index.nil?
- error_message = "We can not conform the commit url matches your email.\n"
^ Do you mean "confirm"?
Thanks, Yuanchao
- error_message += 'Make sure that the commit url is right,'
- error_message += ' or it is truely submitted with you email.'
- raise error_message
- end