fastlane/swift/RubyCommand.swift in fastlane_hotfix-2.165.1 vs fastlane/swift/RubyCommand.swift in fastlane_hotfix-2.187.0

- old
+ new

@@ -1,7 +1,7 @@ // RubyCommand.swift -// Copyright (c) 2020 FastlaneTools +// Copyright (c) 2021 FastlaneTools // // ** NOTE ** // This file is provided by fastlane and WILL be overwritten in future updates // If you want to add extra functionality to this project, create a new file in a @@ -49,10 +49,10 @@ } if type == .stringClosure { return "{\"name\" : \"\(name)\", \"value\" : \"ignored_for_closure\"\(typeJson)}" } else if let array = someValue as? [String] { - return "{\"name\" : \"\(name)\", \"value\" : \"\(array.joined(separator: ","))\"\(typeJson)}" + return "{\"name\" : \"\(name)\", \"value\" : \(array)\(typeJson)}" } else if let hash = someValue as? [String: Any] { let jsonData = try! JSONSerialization.data(withJSONObject: hash, options: []) let jsonString = String(data: jsonData, encoding: .utf8)! return "{\"name\" : \"\(name)\", \"value\" : \(jsonString)\(typeJson)}" } else {