Skip to content

Commit 877c4f6

Browse files
committed
fix(build): if no options were passed in, do not throw an exception.
1 parent 6691e67 commit 877c4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/broccoli/angular2-app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Angular2App.prototype.toTree = function() {
3030
'angular2/bundles/upgrade.dev.js'
3131
];
3232

33-
if (this.options.vendorNpmFiles) {
33+
if (this.options && this.options.vendorNpmFiles) {
3434
vendorNpmFiles = vendorNpmFiles.concat(this.options.vendorNpmFiles);
3535
}
3636

0 commit comments

Comments
 (0)