diff --git a/package.json b/package.json index 5876d29d..447a4f1f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-newrelic-lambda-layers", - "version": "0.1.4", + "version": "0.1.5", "description": "Serverless plugin for NewRelic APM AWS Lambda layers.", "main": "dist/index.js", "files": [ diff --git a/src/index.ts b/src/index.ts index 6dc9cc5b..b4ed5e63 100644 --- a/src/index.ts +++ b/src/index.ts @@ -54,10 +54,10 @@ export default class NewRelicLambdaLayerPlugin { this.serverless.cli.log(`Plugins: ${JSON.stringify(plugins)}`); if ( plugins.indexOf("serverless-webpack") > - plugins.indexOf("serverless-newrelic-layers") + plugins.indexOf("serverless-newrelic-lambda-layers") ) { this.serverless.cli.log( - "serverless-newrelic-layers plugin must come after serverless-webpack in serverless.yml; skipping." + "serverless-newrelic-lambda-layers plugin must come after serverless-webpack in serverless.yml; skipping." ); return; }