We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ffa35 commit 2de6f0cCopy full SHA for 2de6f0c
lib/deploy/stepFunctions/compileIamRole.js
@@ -6,13 +6,16 @@ const path = require('path');
6
function getTaskStates(states) {
7
return _.flatMap(states, state => {
8
switch (state.Type) {
9
- case 'Task':
+ case 'Task': {
10
return [state];
11
- case 'Parallel':
+ }
12
+ case 'Parallel': {
13
const parallelStates = _.flatMap(state.Branches, branch => _.values(branch.States));
14
return getTaskStates(parallelStates);
- default:
15
16
+ default: {
17
return [];
18
19
}
20
});
21
0 commit comments