We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e9332 commit 814799aCopy full SHA for 814799a
fastlane/SnapshotHelper.swift
@@ -114,10 +114,14 @@ open class Snapshot: NSObject {
114
} catch {
115
print("Couldn't detect/set locale...")
116
}
117
+
118
if locale.isEmpty {
119
locale = Locale(identifier: deviceLanguage).identifier
120
- app.launchArguments += ["-AppleLocale", "\"\(locale)\""]
121
122
+ if !locale.isEmpty {
123
+ app.launchArguments += ["-AppleLocale", "\"\(locale)\""]
124
+ }
125
126
127
class func setLaunchArguments(_ app: XCUIApplication) {
@@ -273,4 +277,4 @@ private extension CGFloat {
273
277
274
278
// Please don't remove the lines below
275
279
// They are used to detect outdated configuration files
276
-// SnapshotHelperVersion [1.12]
280
+// SnapshotHelperVersion [1.13]
0 commit comments