Skip to content
Snippets Groups Projects
Commit 0e4c2b6e authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

enable Style/MethodDefParentheses and fix parentheses

parent 4f502704
No related branches found
No related tags found
1 merge request!3363Implement #3243 New Issue by email
Loading
@@ -322,7 +322,7 @@ Style/MethodCallParentheses:
Loading
@@ -322,7 +322,7 @@ Style/MethodCallParentheses:
   
# Checks if the method definitions have or don't have parentheses. # Checks if the method definitions have or don't have parentheses.
Style/MethodDefParentheses: Style/MethodDefParentheses:
Enabled: false Enabled: true
   
# Use the configured style when naming methods. # Use the configured style when naming methods.
Style/MethodName: Style/MethodName:
Loading
Loading
Loading
@@ -101,7 +101,7 @@ module Gitlab
Loading
@@ -101,7 +101,7 @@ module Gitlab
Project.find_with_namespace(reply_key) if reply_key Project.find_with_namespace(reply_key) if reply_key
end end
   
def extract_reply project def extract_reply(project)
reply = ReplyParser.new(message).execute.strip reply = ReplyParser.new(message).execute.strip
   
raise EmptyEmailError if reply.blank? raise EmptyEmailError if reply.blank?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment