diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-10-03 16:09:57 +0200 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-10-03 16:09:57 +0200 |
commit | 4a191c83d1db31aac16241dbf99ac45088efb99a (patch) | |
tree | c5035e58f55263a2d59a8b5cb606326056a13a58 /app/services/system_note_service.rb | |
parent | dfb9cab828a11cf00522734d11c2472e8b540b5c (diff) | |
download | gitlab-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.rb | 2 |
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 |