mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
related to #1638. fixes build issue with lint
This commit is contained in:
parent
5049fbb555
commit
a424fcbf36
@ -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;
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user