Skip to content

Commit

Permalink
Respect silent option by only logging errors
Browse files Browse the repository at this point in the history
patch-1
  • Loading branch information
Kiina committed Oct 15, 2024
1 parent 998078b commit b0386d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/generate-templates/templates-gen-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class TemplatesGenProcess {
}

async start(): Promise<GenerateTemplatesOutput> {
if(this.config.silent) consola.level = 0;
consola.info('start generating source templates ".ejs" for code generator');

const templates = this.getTemplates();
Expand Down

0 comments on commit b0386d5

Please sign in to comment.