Skip to content

Commit a8e1f67

Browse files
authored
Merge pull request #117 from aleksdikanski/116_stack_removal_fix
Use correct function to filter master alias
2 parents 6de8c7c + 5d8e1e7 commit a8e1f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stackInformation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ module.exports = {
172172
)
173173
.spread((currentTemplate, aliasStackTemplates) => {
174174
const removed = _.filter(aliasStackTemplates, ['stack', `${this._provider.naming.getStackName()}-${this._alias}`]);
175-
const filteredAliasStackTemplates = _.without(aliasStackTemplates, ['stack', `${this._provider.naming.getStackName()}-${this._alias}`]);
175+
const filteredAliasStackTemplates = _.reject(aliasStackTemplates, ['stack', `${this._provider.naming.getStackName()}-${this._alias}`]);
176176

177177
const currentAliasStackTemplate = _.get(_.first(removed), 'template', {});
178178
const deployedAliasStackTemplates = _.map(filteredAliasStackTemplates, template => template.template);

0 commit comments

Comments
 (0)