Closed matthewp closed 9 years ago
exports._filePatterns = function(config) {
if (config.blob) {
if (_.isArray(config.glob)) {
return config.glob;
}
return [config.glob];
}
return [];
};
looks right to me.
Currently it throws an exception if you leave out glob. The reason is _filePatterns will return
[undefined]
if you don't have a glob in your config. https://github.com/donejs/deploy/blob/master/lib/package.js#L9