Merge pull request #223 from webcomponents/garlicnation-patch-1

Fix error calling .split on undefined.
This commit is contained in:
AJ Ortega
2015-03-05 10:49:04 -08:00

View File

@@ -34,7 +34,7 @@
}
}
// log flags
if (flags.log) {
if (flags.log && flags.log.split) {
var parts = flags.log.split(',');
flags.log = {};
parts.forEach(function(f) {