Skip to content

Commit 0a5c32e

Browse files
committed
fix: remove unneeded whitespace in concatenated string
1 parent d4fcce2 commit 0a5c32e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/models/activity.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,9 @@ def to_calendar_event(locale)
462462
end
463463

464464
event.summary = name
465-
event.description = "#{ activity_url }\r\n\r\n\
466-
#{ description_localised(locale) }\r\n\r\n\
467-
Last synced on: #{ DateTime.current.utc }"
465+
event.description = "#{ activity_url }\r\n\r\n"\
466+
"#{ description_localised(locale) }\r\n\r\n"\
467+
"Last synced on: #{ DateTime.current.utc }"
468468
event.location = location
469469
return event
470470
end

0 commit comments

Comments
 (0)