@zwa73/dev-utils 1.0.25 → 1.0.26

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.
@@ -59,7 +59,7 @@ const CmdRelease = (program) => program
59
59
  utils_1.SLogger.info(`新版本号: ${newVersion}`);
60
60
  utils_1.SLogger.info("正在发布...");
61
61
  const cmd = `npm publish --registry ${RouteInterface_1.OFFICIAL_SOURCE} --access ${opt.access}`;
62
- await utils_1.UtilFunc.exec(cmd, undefined, 'info');
62
+ await utils_1.UtilFunc.exec(cmd, { errlvl: 'info' });
63
63
  utils_1.SLogger.info("发布完成");
64
64
  }
65
65
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwa73/dev-utils",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "编译与调试工具",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -56,7 +56,7 @@ export const CmdRelease = (program: Command) =>program
56
56
  SLogger.info(`新版本号: ${newVersion}`);
57
57
  SLogger.info("正在发布...");
58
58
  const cmd = `npm publish --registry ${OFFICIAL_SOURCE} --access ${opt.access}`;
59
- await UtilFunc.exec(cmd,undefined,'info');
59
+ await UtilFunc.exec(cmd,{errlvl:'info'});
60
60
  SLogger.info("发布完成");
61
61
  } catch (error) {
62
62
  SLogger.error(error);