forgotten return
This commit is contained in:
@@ -249,7 +249,7 @@ TemplateMaps.prototype.addTemplate = function(owner, template, callback) {
|
||||
}
|
||||
|
||||
this.emit('add', owner, template.name, template);
|
||||
callback(null, template.name, template);
|
||||
return callback(null, template.name, template);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user