fastlane/lib/fastlane/swift_fastlane_function.rb in fastlane-2.158.0 vs fastlane/lib/fastlane/swift_fastlane_function.rb in fastlane-2.159.0

- old
+ new

@@ -204,10 +204,10 @@ # i.e.: @discardableResult func someFunctionName(firstParameter: T # secondParameter: T) # This just creates a string with as many spaces are necessary given whether or not # the function has a 'discardableResult' annotation, the 'func' keyword, function name # and the opening paren. - function_keyword_definition = 'func ' + function_keyword_definition = 'public func ' open_paren = '(' closed_paren = ')' indent = ' ' * (discardable_result.length + function_name.length + function_keyword_definition.length + open_paren.length) params = self.parameters.join(",\n#{indent}")