@tsed/cli 7.0.0-beta.13 → 7.0.0-beta.15

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.
@@ -275,7 +275,7 @@ export class InitCmd {
275
275
  "index",
276
276
  "index.config.util",
277
277
  "index.logger",
278
- ctx.swagger && "index.controller",
278
+ "index.controller",
279
279
  ctx.commands && "index.command",
280
280
  "barrels",
281
281
  "readme",
@@ -1,4 +1,5 @@
1
1
  import { CliFs, command, inject, normalizePath, ProjectPackageJson } from "@tsed/cli-core";
2
+ import { taskLogger } from "@tsed/cli-tasks";
2
3
  import { logger } from "@tsed/di";
3
4
  import { CliRunScript } from "../../services/CliRunScript.js";
4
5
  export class RunCmd {
@@ -11,7 +12,7 @@ export class RunCmd {
11
12
  const cmd = "node";
12
13
  const args = ["--import", "@swc-node/register/esm-register"];
13
14
  const path = normalizePath("src/bin/index.ts");
14
- logger().info(`Run ${cmd} ${[...args, path, ctx.command, ...ctx.rawArgs].join(" ")}`);
15
+ taskLogger().info(`Run ${cmd} ${[...args, path, ctx.command, ...ctx.rawArgs].join(" ")}`);
15
16
  await this.runScript.run(cmd, [...args, path, ctx.command, ...ctx.rawArgs], {
16
17
  env: process.env
17
18
  });