Skip to content

Commit

Permalink
fix(core): hide duplicate log entry when displaying generator help
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Apr 17, 2023
1 parent df81c0d commit 5048deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export async function generate(cwd: string, args: { [k: string]: any }) {
].join('/n')
);
}
if (!opts.quiet) {
if (!opts.quiet && !opts.help) {
logger.info(
`NX Generating ${opts.collectionName}:${normalizedGeneratorName}`
);
Expand Down

0 comments on commit 5048deb

Please sign in to comment.