Current logic always appends to arrays in the context, making it impossible to remove entries from context.distFiles:
|
if (_.isArray(a)) { |
|
return a.concat(b); |
|
} |
I've managed to monkey patch it like this and it worked:
https://github.com/lolmaus/lolma.us/blob/b7c1163dccab5d21c4bc4245b0483da5f698fa4a/lib/ember-cli-deploy-manipulate/index.js#L13-L20
I can try adding a test case and filing a pull request. Need confirmation, recommendations welcome.
Current logic always appends to arrays in the context, making it impossible to remove entries from
context.distFiles:ember-cli-deploy/lib/models/pipeline.js
Lines 178 to 180 in ba13031
I've managed to monkey patch it like this and it worked:
https://github.com/lolmaus/lolma.us/blob/b7c1163dccab5d21c4bc4245b0483da5f698fa4a/lib/ember-cli-deploy-manipulate/index.js#L13-L20
I can try adding a test case and filing a pull request. Need confirmation, recommendations welcome.