mm_statics 1.5.5 → 1.5.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 +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -196,8 +196,9 @@ Static.prototype._toAmd = async function (file_type, text) {
|
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
//
|
|
200
|
-
|
|
199
|
+
// 格式化代码后返回,确保返回字符串而不是Promise
|
|
200
|
+
const result = await this._formatCode(txt, file_type);
|
|
201
|
+
return result;
|
|
201
202
|
};
|
|
202
203
|
|
|
203
204
|
/**
|