fastlane/lib/fastlane/swift_fastlane_function.rb in fastlane-2.80.0.beta.20180201010003 vs fastlane/lib/fastlane/swift_fastlane_function.rb in fastlane-2.80.0
- old
+ new
@@ -104,9 +104,11 @@
type = "Bool"
elsif default_value.class == TrueClass
type = "Bool"
elsif default_value.kind_of?(Array)
type = "[String]"
+ elsif default_value.kind_of?(Hash)
+ type = "[String : Any]"
end
return "#{type}#{optional_specifier}"
end
def parameters