Skip to content

Commit

Permalink
fix: call super in included
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya authored Jan 9, 2019
1 parent 044bfbe commit 9ab9941
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ module.exports = {
* Store `ember-cli-build.js` options
*/
included: function(app/*, parentAddon*/) {
this._super.included.apply(this, arguments);
this._options = app.options.newVersion || {};

if (this._options.enabled === true) {
this._options.fileName = this._options.fileName || 'VERSION.txt';
this._options.prepend = this._options.prepend || '';
Expand Down

0 comments on commit 9ab9941

Please sign in to comment.