mm_machine 1.7.5 → 1.7.6

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -788,7 +788,7 @@ Index.prototype.run = async function(name, method, ...params) {
788
788
  * @param {Object} option 配置参数
789
789
  * @return {String} 执行结果
790
790
  */
791
- Index.prototype.exec = function(name, method, ...params) {
791
+ Index.prototype.exec = async function(name, method, ...params) {
792
792
  var result;
793
793
  if (name) {
794
794
  var o = await this.get(name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "这是超级美眉框架机制构建辅助模块,用于快速构建一个机制",
5
5
  "main": "index.js",
6
6
  "scripts": {