Skip to content

Commit 594bb18

Browse files
committed
fixed linting error
1 parent 2db2dd2 commit 594bb18

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/yamlParser.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ module.exports = {
1313
const serverlessYmlPath = path.join(servicePath, 'serverless.yml');
1414
return this.serverless.yamlParser
1515
.parse(serverlessYmlPath)
16-
.then((serverlessFileParam) => {
17-
return this.serverless.variables.populateObject(serverlessFileParam).then((parsedObject) => {
16+
.then(serverlessFileParam =>
17+
this.serverless.variables.populateObject(serverlessFileParam)
18+
.then(parsedObject => {
1819
this.serverless.service.stepFunctions = {};
1920
this.serverless.service.stepFunctions.stateMachines
2021
= parsedObject.stepFunctions
@@ -39,8 +40,8 @@ module.exports = {
3940

4041
this.serverless.variables.populateService(this.serverless.pluginManager.cliOptions);
4142
return BbPromise.resolve();
42-
});
43-
});
43+
})
44+
);
4445
},
4546

4647
getAllStateMachines() {

0 commit comments

Comments
 (0)