deliver/lib/deliver/options.rb in fastlane-2.8.0 vs deliver/lib/deliver/options.rb in fastlane-2.9.0
- old
+ new
@@ -125,10 +125,10 @@
description: "Path to the app rating's config",
is_string: true,
optional: true,
verify_block: proc do |value|
UI.user_error!("Could not find config file at path '#{File.expand_path(value)}'") unless File.exist?(value)
- UI.user_error!("'#{value}' doesn't seem to be a JSON file") unless value.end_with?(".json")
+ UI.user_error! "'#{value}' doesn't seem to be a JSON file" unless FastlaneCore::Helper.json_file?(File.expand_path(value))
end),
FastlaneCore::ConfigItem.new(key: :submission_information,
short_option: "-b",
description: "Extra information for the submission (e.g. third party content)",
is_string: false,