Skip to content

Commit

Permalink
fix(build): make sure default config is used
Browse files Browse the repository at this point in the history
even when the config is not set in the app.
  • Loading branch information
Ilya Radchenko committed Jul 13, 2017
1 parent a30fd59 commit 25d79d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {

importThemes: function(app) {
var projectConfig = this.project.config(app.env);
var config = projectConfig['ember-toggle'];
var config = projectConfig['ember-toggle'] || {};
var themes = [];
var excludeBaseStyles = false;

Expand Down

0 comments on commit 25d79d8

Please sign in to comment.