related to #1638. fixes build issue with lint

This commit is contained in:
Scott Willeke 2016-07-21 19:59:08 -07:00
parent 5049fbb555
commit a424fcbf36

View File

@ -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;
});
}
}