Skip to content

Instantly share code, notes, and snippets.

@johncip
Created April 28, 2017 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johncip/29160c79418704a442cfae1847700921 to your computer and use it in GitHub Desktop.
Save johncip/29160c79418704a442cfae1847700921 to your computer and use it in GitHub Desktop.
❯ vi /usr/local/lib/ruby/gems/2.3.0/gems/pronto-0.8.2/lib/pronto/formatter/text_formatter.rb
# change line 17 to ...
# "[#{message.runner.title}] #{format_location(message)} #{format_level(message)}: #{message.msg}".strip
❯ pronto run -r reek
Running Pronto::Reek
[reek] app/decorators/course_membership_decorator.rb:21 I: Is controlled by argument 'current_user' (ControlParameter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment