From 877c4f62eeba4a083eb46e81327be11161ea54f4 Mon Sep 17 00:00:00 2001 From: Hans Larsen Date: Tue, 16 Feb 2016 10:27:58 -0800 Subject: [PATCH] fix(build): if no options were passed in, do not throw an exception. --- lib/broccoli/angular2-app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/broccoli/angular2-app.js b/lib/broccoli/angular2-app.js index cd9a5a172fe2..d3eac5805d51 100644 --- a/lib/broccoli/angular2-app.js +++ b/lib/broccoli/angular2-app.js @@ -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); }