提交 7083b355 编写于 作者: L Lin Jen-Shin

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册