fix(devkit): command format example should use derived info instead of as-provided (#20065)

This commit is contained in:
Miroslav Jonaš 2023-11-06 17:41:59 +01:00 committed by GitHub
parent 1338a7c133
commit bc577c68a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ function getExample(
callingGenerator: string,
formats: ProjectNameAndRootFormats
) {
return `Example: nx g ${callingGenerator} ${formats['as-provided'].projectName} --directory ${formats['as-provided'].projectRoot}`;
return `Example: nx g ${callingGenerator} ${formats['derived'].projectName} --directory ${formats['derived'].projectRoot}`;
}
async function determineFormat(