From 8d341e938590a046af0bf5880679f7725432cfc9 Mon Sep 17 00:00:00 2001 From: Trevor Jones Date: Sat, 15 Jan 2022 15:38:28 -0700 Subject: [PATCH] commands attribute breaks serverless deploy. serverless appears to choke on the presence of commands object --- index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/index.js b/index.js index 5271044..a386c8e 100644 --- a/index.js +++ b/index.js @@ -7,13 +7,6 @@ class ServerlessApiGWSqsPlugin { this.serverless = serverless; this.options = options; this.apiEndpointUrl = ""; - this.commands = { - deploy: { - lifecycleEvents: [ - 'resources' - ] - }, - }; this.hooks = { 'before:deploy:deploy': this.beforeDeployResources.bind(this),