Skip to content

Commit

Permalink
fix(core): avoid NPE when extracting accounts for pipeline execution …
Browse files Browse the repository at this point in the history
…headers
  • Loading branch information
danielpeach committed Mar 30, 2017
1 parent 2ebd0c4 commit d817c9a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -114,7 +114,7 @@ module.exports = angular
configAccounts.push(...stageConfig.configAccountExtractor(stage));
}
});
return _.uniq(_.flattenDeep(configAccounts)).filter(a => !a.includes('${')); // exclude parameterized accounts
return _.uniq(_.compact(_.flattenDeep(configAccounts))).filter(a => !a.includes('${')); // exclude parameterized accounts
}

function fixName(execution, application) {
Expand Down

0 comments on commit d817c9a

Please sign in to comment.