BigW Consortium Gitlab

Commit 7083b355 by Lin Jen-Shin

Follow Rubocop for scripts/prune-old-flaky-specs

parent 1e2b6cf5
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment