Comparing version 0.0.19 to 0.0.20
@@ -46,3 +46,3 @@ /** | ||
} else if (keys.length === 1) { | ||
packageName = this.app.projectName; | ||
packageName = this.app.ROOT_NAME; | ||
serviceName = keys[0]; | ||
@@ -49,0 +49,0 @@ } |
@@ -30,4 +30,3 @@ const EventEmitter = require('events'); | ||
this.app.ROOT_PATH = this.options.ROOT_PATH; | ||
this.app.projectName = path.basename(this.options.ROOT_PATH); | ||
this.app.ROOT_NAME = this.app.projectName; | ||
this.app.ROOT_NAME = path.basename(this.options.ROOT_PATH); | ||
@@ -34,0 +33,0 @@ this.loader = new DefaultLoader({ |
{ | ||
"name": "astroboy", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Astroboy(阿童木)is a Nodejs SFB(Separation of Front and Back ends) framework, built on koa2.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
33694
48
1031