From a424fcbf3697296019775fe55cf839baba3cf539 Mon Sep 17 00:00:00 2001 From: Scott Willeke Date: Thu, 21 Jul 2016 19:59:08 -0700 Subject: [PATCH] related to #1638. fixes build issue with lint --- lib/plugins/aws/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/plugins/aws/index.js b/lib/plugins/aws/index.js index 99280751e..ad3ae8c0a 100644 --- a/lib/plugins/aws/index.js +++ b/lib/plugins/aws/index.js @@ -90,17 +90,16 @@ class SDK { getServerlessDeploymentBucketName(stage, region) { const stackName = `${this.serverless.service.service}-${stage}`; - return this.request('CloudFormation', 'describeStackResources', { StackName: stackName }, stage, region ).then((result) => { - let found = _.find(result.StackResources, { LogicalResourceId: 'ServerlessDeploymentBucket' }); + const found = _.find(result.StackResources, + { LogicalResourceId: 'ServerlessDeploymentBucket' }); return found.PhysicalResourceId; }); - } }