Update discover-unused-partials.rb

Fixed syntax error