fix(core): use correct break line char in deprecated generator message printed by the generate command (#18879)

This commit is contained in:
Leosvel Pérez Espinosa 2023-08-29 15:43:10 +01:00 committed by GitHub
parent f24ea1073c
commit 86c21c6064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,7 +336,7 @@ export async function generate(cwd: string, args: { [k: string]: any }) {
[ [
`${NX_PREFIX}: ${opts.collectionName}:${normalizedGeneratorName} is deprecated`, `${NX_PREFIX}: ${opts.collectionName}:${normalizedGeneratorName} is deprecated`,
`${deprecated}`, `${deprecated}`,
].join('/n') ].join('\n')
); );
} }
if (!opts.quiet && !opts.help) { if (!opts.quiet && !opts.help) {