yolo 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/yolo/tasks/ios/coverage.rb +2 -1
- metadata +1 -1
|
@@ -25,7 +25,8 @@ module Yolo
|
|
|
25
25
|
Find.find(@xcode.build_path) do |path|
|
|
26
26
|
files << path if path =~ /.*#{name}-.*\/Build\/Intermediates\/#{name}.build\/.*-iphoneos\/#{name}.build\/Objects-normal/
|
|
27
27
|
end
|
|
28
|
-
files.sort_by { |filename| File.mtime(filename)}.last # get the latest
|
|
28
|
+
latest = files.sort_by { |filename| File.mtime(filename)}.last # get the latest
|
|
29
|
+
latest.split("/")[0..-2].join("/") # remove the file and get the dir
|
|
29
30
|
end
|
|
30
31
|
|
|
31
32
|
#
|