Skip to content

Commit

Permalink
Clean file path from cli
Browse files Browse the repository at this point in the history
  • Loading branch information
badlamer committed Jan 30, 2020
1 parent 0a55916 commit 221c790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parallel_tests/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def parse_options!(argv)
files, remaining = extract_file_paths(argv)
unless options[:execute]
abort "Pass files or folders to run" unless files.any?
options[:files] = files
options[:files] = files.map { |file_path| Pathname.new(file_path).cleanpath.to_s }
end

append_test_options(options, remaining)
Expand Down

0 comments on commit 221c790

Please sign in to comment.