Accenture / serverless-ephemeral

This is a Serverless Framework plugin that helps bundling any stateless zipped library to AWS Lambda.
67 stars 15 forks source link

Fix filesystem error code #3

Closed JanDzvonik closed 6 years ago

JanDzvonik commented 6 years ago

Version 0.5.0 has typo in error code EEXIST. It was not possible to use default unzip directory.

pavestru commented 6 years ago

I have reproduced the issue by updating serverless-ephemeral to 0.5.0 and removing the optional parameter directory from serverless.yml in examples/tensorflow-lambda and was getting this error:

Unexpected error creating directory .ephemeral/pkg

After npm linking @Dzvony's fix instead everything's just fine. Thanks, @Dzvony, for quick fix.

pavestru commented 6 years ago

@alexleonescalera, wanna bump patch number or can I do that?

alexleonescalera commented 6 years ago

Thanks for the fix. @pavestru I'll add the 0.5.1 patch number this time, but feel free to do that next time.