mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Remove dead code preventing simplecov from running
This commit is contained in:
parent
db87f8d85e
commit
bcdd1ccdd5
@ -2,10 +2,6 @@ require 'bundler/setup'
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
# HACK: till https://github.com/colszowka/simplecov/pull/400 is merged and released.
|
|
||||||
# Otherwise you may get:
|
|
||||||
# simplecov-0.10.0/lib/simplecov/defaults.rb:50: warning: global variable `$ERROR_INFO' not initialized
|
|
||||||
require 'support/simplecov'
|
|
||||||
AppCoverage.start
|
AppCoverage.start
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
STDERR.puts 'Running without SimpleCov'
|
STDERR.puts 'Running without SimpleCov'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user