diff --git a/packages/nx/src/command-line/generate/generate.ts b/packages/nx/src/command-line/generate/generate.ts index 39b3baff7f01d..07565946919fd 100644 --- a/packages/nx/src/command-line/generate/generate.ts +++ b/packages/nx/src/command-line/generate/generate.ts @@ -336,7 +336,7 @@ export async function generate(cwd: string, args: { [k: string]: any }) { [ `${NX_PREFIX}: ${opts.collectionName}:${normalizedGeneratorName} is deprecated`, `${deprecated}`, - ].join('/n') + ].join('\n') ); } if (!opts.quiet && !opts.help) {