diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-23 12:10:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-23 12:10:45 +0300 |
commit | cd40f83527ac4ed4751b4b7849f0416996589d18 (patch) | |
tree | 201a36d826fc98f14ee1a7a1dc806b32f51cac00 /scripts | |
parent | d5f3372f10b9fefc8cf831515152eee7ae908f69 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/flaky_examples/prune-old-flaky-examples | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/flaky_examples/prune-old-flaky-examples b/scripts/flaky_examples/prune-old-flaky-examples index 8c09c4cc860..a5b50a7e8ea 100755 --- a/scripts/flaky_examples/prune-old-flaky-examples +++ b/scripts/flaky_examples/prune-old-flaky-examples @@ -1,16 +1,11 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# lib/rspec_flaky/flaky_examples_collection.rb is requiring +# tooling/rspec_flaky/flaky_examples_collection.rb is requiring # `active_support/hash_with_indifferent_access`, and we install the `activesupport` # gem manually on the CI require 'rubygems' - -# 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' +require_relative '../../tooling/rspec_flaky/report' report_file = ARGV.shift unless report_file |