yolo 1.1.9 → 1.1.10
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
#
|