Skip to content

Commit

Permalink
Fix for defining structures from shapes with no members.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorrowe committed Jun 11, 2015
1 parent bd899a0 commit 3722c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-sdk-core/lib/aws-sdk-core/structure.rb
Expand Up @@ -57,7 +57,7 @@ class << self
def new(*args)
if args == ['AwsEmptyStructure']
super
elsif args.empty?
elsif args.empty? || args.first == []
EmptyStructure
else
super(*args)
Expand Down

0 comments on commit 3722c15

Please sign in to comment.