snapshot/lib/assets/SnapshotHelper.swift in fastlane-2.128.0.beta.20190721200024 vs snapshot/lib/assets/SnapshotHelper.swift in fastlane-2.128.0.beta.20190722200021
- old
+ new
@@ -166,11 +166,11 @@
}
app.typeKey(XCUIKeyboardKeySecondaryFn, modifierFlags: [])
#else
- guard let app = self.app else {
+ guard self.app != nil else {
NSLog("XCUIApplication is not set. Please call setupSnapshot(app) before snapshot().")
return
}
let screenshot = XCUIScreen.main.screenshot()
@@ -298,6 +298,6 @@
}
}
// Please don't remove the lines below
// They are used to detect outdated configuration files
-// SnapshotHelperVersion [1.19]
+// SnapshotHelperVersion [1.20]