Skip to content

Commit 2de6f0c

Browse files
- fixed linting issue
1 parent 19ffa35 commit 2de6f0c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/deploy/stepFunctions/compileIamRole.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ const path = require('path');
66
function getTaskStates(states) {
77
return _.flatMap(states, state => {
88
switch (state.Type) {
9-
case 'Task':
9+
case 'Task': {
1010
return [state];
11-
case 'Parallel':
11+
}
12+
case 'Parallel': {
1213
const parallelStates = _.flatMap(state.Branches, branch => _.values(branch.States));
1314
return getTaskStates(parallelStates);
14-
default:
15+
}
16+
default: {
1517
return [];
18+
}
1619
}
1720
});
1821
}

0 commit comments

Comments
 (0)