Skip to content

Commit b58379a

Browse files
committed
linting happy
1 parent 800bed6 commit b58379a

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

lib/deploy.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,17 @@ module.exports = {
106106
PolicyName: this.iamPolicyName,
107107
},
108108
this.options.stage,
109-
this.options.region)
110-
})
111-
.then((result) => {
112-
return this.provider.request('IAM',
113-
'attachRolePolicy',
114-
{
115-
PolicyArn: result.Policy.Arn,
116-
RoleName: this.iamRoleName,
117-
},
118-
this.options.stage,
119-
this.options.region)
109+
this.options.region);
120110
})
111+
.then((result) => this.provider.request('IAM',
112+
'attachRolePolicy',
113+
{
114+
PolicyArn: result.Policy.Arn,
115+
RoleName: this.iamRoleName,
116+
},
117+
this.options.stage,
118+
this.options.region)
119+
)
121120
.then(() => BbPromise.resolve());
122121
},
123122

0 commit comments

Comments
 (0)