Skip to content

Commit

Permalink
Updating plugin name in plugin order checking
Browse files Browse the repository at this point in the history
  • Loading branch information
mrickard authored Nov 25, 2019
2 parents e9f2a5f + f13a628 commit a85461a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a85461a

Please sign in to comment.