fastlane-plugin-imagesgoldenrun 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d7cc825b7b3a5aa6cc7bb601d01e0460cd57bd3
|
4
|
+
data.tar.gz: e946ad3ebc55de32bb3358e807fc722be99bdbb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: babf2ab6b91c2eda17a2c9e03e5ad40d77504dd435a935c5a525028d720d37e86db7825ce2cd97b68ad984241c9531067ed356390e9ca88514633f60db9049be
|
7
|
+
data.tar.gz: 6a7cfffa9c80f3481dd7f5c561365347abd3ff82d63116d83a0f91ddad3615572287c85325822ac64ca7d5c9e05c760c94e0c86b125f1ccea9646d27e074ac51
|
@@ -55,7 +55,7 @@ module Fastlane
|
|
55
55
|
goldenRunReport.gsub!("<htmlImages>", hasDifferences ? htmlImages : "<h3>No differences found<h3>")
|
56
56
|
File.open("#{differencesFolder}/report.html", "w") { |file| file.write(goldenRunReport) }
|
57
57
|
|
58
|
-
if hasDifferences
|
58
|
+
if hasDifferences && params[:failWhenDiffs]
|
59
59
|
UI.message("Error: ".red + "Some differences found".red)
|
60
60
|
raise Exception
|
61
61
|
end
|
@@ -88,7 +88,11 @@ module Fastlane
|
|
88
88
|
optional: false),
|
89
89
|
FastlaneCore::ConfigItem.new(key: :excludeArea,
|
90
90
|
description: 'Area for the exclusion',
|
91
|
-
optional: false)
|
91
|
+
optional: false),
|
92
|
+
FastlaneCore::ConfigItem.new(key: :failWhenDiffs,
|
93
|
+
description: 'Area for the exclusion',
|
94
|
+
optional: true,
|
95
|
+
default_value: false)
|
92
96
|
]
|
93
97
|
end
|
94
98
|
|