summaryrefslogtreecommitdiff
path: root/app/services/system_note_service.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-10-03 16:09:57 +0200
committerRobert Speicher <rspeicher@gmail.com>2016-10-03 16:09:57 +0200
commit4a191c83d1db31aac16241dbf99ac45088efb99a (patch)
treec5035e58f55263a2d59a8b5cb606326056a13a58 /app/services/system_note_service.rb
parentdfb9cab828a11cf00522734d11c2472e8b540b5c (diff)
downloadgitlab-ce-4a191c83d1db31aac16241dbf99ac45088efb99a.tar.gz
Enable Lint/StringConversionInInterpolation cop and autocorrect offensesrs-string-conversion-in-interpolation
Diffstat (limited to 'app/services/system_note_service.rb')
-rw-r--r--app/services/system_note_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb
index 5ccaa5275b7..bf251816e7e 100644
--- a/app/services/system_note_service.rb
+++ b/app/services/system_note_service.rb
@@ -246,7 +246,7 @@ module SystemNoteService
'deleted'
end
- body = "#{verb} #{branch_type.to_s} branch `#{branch}`".capitalize
+ body = "#{verb} #{branch_type} branch `#{branch}`".capitalize
create_note(noteable: noteable, project: project, author: author, note: body)
end