fix: properly evaluate process.env.AUTO_WEBP by toredash · Pull Request #195 · aws-solutions/dynamic-image-transformation-for-amazon-cloudfront

Description of changes:
process.env.AUTO_WEBP isn't properly evaluated. CloudFormation file sets this ENV to either "Yes" or "No", but the code only checks if the ENV variable is present or not.

Change was introduced with the bug present in #152

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.