bin/parallel_test in parallel_tests-3.4.0 vs bin/parallel_test in parallel_tests-3.5.0
- old
+ new
@@ -1,8 +1,9 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
# enable local usage from cloned repo
-root = File.expand_path("../..", __FILE__)
+root = File.expand_path('..', __dir__)
$LOAD_PATH << "#{root}/lib" if File.exist?("#{root}/Gemfile")
require "parallel_tests"
ParallelTests::CLI.new.run(["--type", "test"] + ARGV)