diff options
author | Patrick Derichs <pderichs@gitlab.com> | 2019-06-15 09:05:45 +0200 |
---|---|---|
committer | Patrick Derichs <pderichs@gitlab.com> | 2019-06-19 10:56:55 +0200 |
commit | 9079085fe7b03a330a50ddee638990af42b22bda (patch) | |
tree | d70dcf25f94ad42189f80a8085dd3919ba4d33a1 /app/finders/notes_finder.rb | |
parent | b5b5658868a8aaac0dc340f6d7c9a14842cab2e5 (diff) | |
download | gitlab-ce-9079085fe7b03a330a50ddee638990af42b22bda.tar.gz |
Remove unneeded parentheses
Diffstat (limited to 'app/finders/notes_finder.rb')
-rw-r--r-- | app/finders/notes_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/notes_finder.rb b/app/finders/notes_finder.rb index 06d01245e90..8f610d7dddb 100644 --- a/app/finders/notes_finder.rb +++ b/app/finders/notes_finder.rb @@ -37,7 +37,7 @@ class NotesFinder target_iid = @params[:target_iid] return @target = nil unless target_type - return @target = nil unless (target_id || target_iid) + return @target = nil unless target_id || target_iid @target = if target_type == "commit" |