fastlane/lib/fastlane/actions/s3.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/actions/s3.rb in fastlane-2.75.0.beta.20180109010003
- old
+ new
@@ -273,10 +273,10 @@
# When you enable versioning on a S3 bucket,
# writing to an object will create an object version
# instead of replacing the existing object.
# http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/S3/ObjectVersion.html
- if obj.kind_of? AWS::S3::ObjectVersion
+ if obj.kind_of?(AWS::S3::ObjectVersion)
obj = obj.object
end
# Return public url
obj.public_url.to_s