rschick / serverless-plugin-lambda-account-access

5 stars 6 forks source link

Fix case with no resources specified #1

Closed AntonBazhal closed 7 years ago

AntonBazhal commented 7 years ago

This is a fix for case when there is no resources defined in serverless.yml. The problem was that during this assignment const resources = service.resources || {};, resources variable was getting {} as a value, but not reference to service.resources.

AntonBazhal commented 7 years ago

@rschick Can't assign you

AntonBazhal commented 7 years ago

@rschick Can you, please, publish new version?

rschick commented 7 years ago

done

AntonBazhal commented 7 years ago

Thanks a lot. Merry Christmas!

rschick commented 7 years ago

Thanks Anton, you too!