Skip to content

Commit d3bece9

Browse files
committed
Merge pull request #1 from sync/feature-profdata
Fix broken path
2 parents b1de838 + b305ed8 commit d3bece9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/slather/project.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def profdata_llvm_cov_output
106106
raise StandardError, "No Coverage.profdata files found. Please make sure the \"Code Coverage\" checkbox is enabled in your scheme's Test action or the build_directory property is set."
107107
end
108108
xcode_path = `xcode-select -p`.strip
109-
llvm_cov_command = xcode_path + "Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-cov show -instr-profile #{coverage_profdata} #{binary_file}"
109+
llvm_cov_command = xcode_path + "/Toolchains/XcodeDefault.xctoolchain/usr/bin/llvm-cov show -instr-profile #{coverage_profdata} #{binary_file}"
110110
`#{llvm_cov_command}`
111111
end
112112
private :profdata_llvm_cov_output

0 commit comments

Comments
 (0)