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.
- package/index.js +1 -1
- 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);
|