iopipe / serverless-iopipe-layers

Please migrate to the equivalent New Relic Serverless plugin: serverless-newrelic-lambda-layers
https://github.com/iopipe/serverless-newrelic-lambda-layers
Apache License 2.0
14 stars 8 forks source link

Don't wrap functions if Severless <1.34.0 #20

Closed kolanos closed 5 years ago

kolanos commented 5 years ago

Add a Serverless version check during wrapping to prevent the process from going forward if not running Serverless 1.34.0 or newer. This is when Serverless added layers support and wrapping prior to that will be non-functional as he layers won't be present.