Skip to content

Commit

Permalink
- fixed node4/5 error
Browse files Browse the repository at this point in the history
  • Loading branch information
theburningmonk committed Jan 30, 2019
1 parent dbd8560 commit fdfe30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deploy/stepFunctions/compileIamRole.js
Expand Up @@ -130,7 +130,7 @@ function consolidatePermissionsByAction(permissions) {
.mapValues(perms => {
// find the unique resources
let resources = _.uniqWith(_.flatMap(perms, p => p.resource), _.isEqual);
if (resources.includes('*')) {
if (_.includes(resources, '*')) {
resources = '*';
}

Expand Down

0 comments on commit fdfe30c

Please sign in to comment.