Follow Rubocop for scripts/prune-old-flaky-specs
This commit is contained in:
parent
1e2b6cf514
commit
7083b355a6
|
@ -5,8 +5,9 @@
|
|||
# gem manually on the CI
|
||||
require 'rubygems'
|
||||
|
||||
singleton_class.__send__(:alias_method, :require_dependency, :require)
|
||||
$LOAD_PATH.unshift(File.expand_path('../lib', __dir__))
|
||||
# In newer Ruby, alias_method is not private then we don't need __send__
|
||||
singleton_class.__send__(:alias_method, :require_dependency, :require) # rubocop:disable GitlabSecurity/PublicSend
|
||||
$:.unshift(File.expand_path('../lib', __dir__))
|
||||
|
||||
require 'rspec_flaky/report'
|
||||
|
||||
|
|
Loading…
Reference in New Issue