mm_os 3.0.4 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -155,7 +155,7 @@ Drive.prototype.restart = async function(option) {
155
155
  Drive.prototype.init_before = async function(option) {
156
156
  this.plugin = $.plugin_admin(this.config.name, this.config.title);
157
157
  await this.plugin.update();
158
- await this.plugin.exec(null, 'init');
158
+ this.plugin.exec(null, 'init');
159
159
  }
160
160
 
161
161
  /**
@@ -209,7 +209,7 @@ Drive.prototype.start_after = async function(opiton) {
209
209
  for (var i = 0; i < list.length; i++) {
210
210
  var o = list[i];
211
211
  if (o.config.state) {
212
- await o.run('start');
212
+ o.exec('start');
213
213
  }
214
214
  }
215
215
  return msg;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {