@zwa73/dev-utils 1.0.45 → 1.0.46

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.
@@ -12,7 +12,7 @@ const CmdNode = (program) => program
12
12
  utils_1.SLogger.info(`编译并运行: ${arg}`);
13
13
  let cmd = `ts-node -r tsconfig-paths/register ${arg}`;
14
14
  if (opt.project)
15
- cmd += `-P ${opt.project}`;
15
+ cmd += ` -P ${opt.project}`;
16
16
  await utils_1.UtilFunc.exec(cmd, { outlvl: 'info', errlvl: 'error' });
17
17
  });
18
18
  exports.CmdNode = CmdNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwa73/dev-utils",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "编译与调试工具",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,6 +11,6 @@ export const CmdNode = (program:Command)=>program
11
11
  .action(async (arg, opt) => {
12
12
  SLogger.info(`编译并运行: ${arg}`);
13
13
  let cmd = `ts-node -r tsconfig-paths/register ${arg}`;
14
- if(opt.project) cmd+=`-P ${opt.project}`;
14
+ if(opt.project) cmd+=` -P ${opt.project}`;
15
15
  await UtilFunc.exec(cmd,{outlvl:'info',errlvl:'error'});
16
16
  });