Skip to content

Commit

Permalink
fix(build): if no options were passed in, do not throw an exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
hansl committed Feb 16, 2016
1 parent 6691e67 commit 877c4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/broccoli/angular2-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Angular2App.prototype.toTree = function() {
'angular2/bundles/upgrade.dev.js'
];

if (this.options.vendorNpmFiles) {
if (this.options && this.options.vendorNpmFiles) {
vendorNpmFiles = vendorNpmFiles.concat(this.options.vendorNpmFiles);
}

Expand Down

0 comments on commit 877c4f6

Please sign in to comment.