diff options
Diffstat (limited to 'scripts/prune-old-flaky-specs')
-rwxr-xr-x | scripts/prune-old-flaky-specs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/prune-old-flaky-specs b/scripts/prune-old-flaky-specs index a00a334fd6e..97d49ffa5a2 100755 --- a/scripts/prune-old-flaky-specs +++ b/scripts/prune-old-flaky-specs @@ -3,17 +3,17 @@ # lib/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' +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__)) +$:.unshift(File.expand_path("../lib", __dir__)) -require 'rspec_flaky/report' +require "rspec_flaky/report" report_file = ARGV.shift unless report_file - puts 'usage: prune-old-flaky-specs <report-file> <new-report-file>' + puts "usage: prune-old-flaky-specs <report-file> <new-report-file>" exit 1 end |