Closed onno-vos-dev closed 3 years ago
Since this shrank the diff even more, I squashed it into the original commit. Hope you don't mind :-)
Re-running the following produces no diff so semantically both changes are the same:
export SPEC_PATH=../aws-sdk-go/models/apis
export TEMPLATE_PATH=priv
export ERLANG_OUTPUT_PATH=../aws-erlang/src
mix run generate.exs erlang $SPEC_PATH $TEMPLATE_PATH $ERLANG_OUTPUT_PATH
Thank you for the contribution 😄
This actually showed up due to Dialyzer indicating us that this was wrong in our code. Even if Dialyzer was run (which it isn't) on
aws-erlang
it may or may not have caught it since a catch-all type of clause exists there.Diff that it generates for
aws_s3