Skip to content

Commit 99f4ba9

Browse files
committed
Correct error with plugin provides
1 parent 9528055 commit 99f4ba9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ var Plugin = function(config, app) {
3737
services[toProvide].name = toProvide;
3838

3939
that.app.emit("service", toProvide, services[toProvide]);
40-
deferred.resolve(that);
4140
});
41+
deferred.resolve(that);
4242
}
4343

4444
var setup = require(that.packagePath);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "engineer",
33
"description": "Powerful plugin system for writing large and extensible NodeJS applications",
4-
"version": "0.0.4",
4+
"version": "0.0.5",
55
"author": "FriendCode <contact@friendco.de>",
66
"contributors": [
77
{

0 commit comments

Comments
 (0)