match/lib/match/encrypt.rb in fastlane-2.79.0.beta.20180124010003 vs match/lib/match/encrypt.rb in fastlane-2.79.0.beta.20180125010002
- old
+ new
@@ -106,10 +106,10 @@
UI.crash!("Error decrypting '#{path}'") unless success
# On non-Mac systems (more specific Ubuntu Linux) it might take some time for the file to actually be there (see #11182).
# To try to circumvent this flakyness (in tests), we wait a bit until the file appears (max 2s) (usually only 0.1 is actually waited)
- unless FastlaneCore::Helper.is_mac?
+ unless FastlaneCore::Helper.mac?
count = 0
# sleep until file exists or 20*0.1s (=2s) passed
until File.exist?(tmpfile) || count == 20
sleep(0.1)
count += 1