lib/parallel_tests/cli.rb in parallel_tests-3.7.3 vs lib/parallel_tests/cli.rb in parallel_tests-3.8.0

- old
+ new

@@ -320,15 +320,15 @@ end def extract_file_paths(argv) dash_index = argv.rindex("--") file_args_at = (dash_index || -1) + 1 - [argv[file_args_at..-1], argv[0...(dash_index || 0)]] + [argv[file_args_at..], argv[0...(dash_index || 0)]] end def extract_test_options(argv) dash_index = argv.index("--") || -1 - argv[dash_index + 1..-1] + argv[dash_index + 1..] end def append_test_options(options, argv) new_opts = extract_test_options(argv) return if new_opts.empty?