fixed course card header

1 job for dev-v2 in 2 minutes and 12 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #6911
test

00:02:12

 
Name Stage Failure
failed
test Test
app/models/course_section.rb:16:50: C: Layout/SpaceAroundOperators: Surrounding space missing for operator -.
lecture_number = name.split[name.split.length-1]
^
app/models/course_section.rb:18:41: C: Layout/SpaceAroundOperators: Surrounding space missing for operator -.
s.title.split[s.title.split.length-1] == lecture_number
^

91 files inspected, 5 offenses detected
ERROR: Job failed: exit code 1