Skip to content

Commit

Permalink
We need > 25 lines for the at_exit block
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Dec 26, 2016
1 parent ff0acf8 commit b0f201e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov/defaults.rb
Expand Up @@ -49,7 +49,7 @@
# Gotta stash this a-s-a-p, see the CommandGuesser class and i.e. #110 for further info
SimpleCov::CommandGuesser.original_run_command = "#{$PROGRAM_NAME} #{ARGV.join(' ')}"

at_exit do
at_exit do # rubocop:disable Metrics/BlockLength
# If we are in a different process than called start, don't interfere.
next if SimpleCov.pid != Process.pid

Expand Down

0 comments on commit b0f201e

Please sign in to comment.