@zwa73/dev-utils 1.0.29 → 1.0.30

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.
@@ -138,7 +138,7 @@ var UtilDT;
138
138
  * @param targetPath - 目标文件 默认为去除".macro"的同名文件
139
139
  */
140
140
  async function $macro(regionId, codeText, targetPath) {
141
- const loc = (0, utils_1.getFuncLoc)(2);
141
+ const loc = utils_1.UtilFunc.getFuncLoc(2);
142
142
  if (!loc) {
143
143
  utils_1.SLogger.error(`UtilDT.$macro 未能找到函数位置`);
144
144
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwa73/dev-utils",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "编译与调试工具",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -138,7 +138,7 @@ export async function batchNode(filepath:string|string[],opt?:BatchNodeOpt) {
138
138
  * @param targetPath - 目标文件 默认为去除".macro"的同名文件
139
139
  */
140
140
  export async function $macro(regionId:string,codeText:string,targetPath?:string){
141
- const loc = getFuncLoc(2);
141
+ const loc = UtilFunc.getFuncLoc(2);
142
142
  if(!loc){
143
143
  SLogger.error(`UtilDT.$macro 未能找到函数位置`);
144
144
  return