fix(devkit): command format example should use derived info instead of as-provided (#20065)
This commit is contained in:
parent
1338a7c133
commit
bc577c68a2
@ -122,7 +122,7 @@ function getExample(
|
|||||||
callingGenerator: string,
|
callingGenerator: string,
|
||||||
formats: ProjectNameAndRootFormats
|
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(
|
async function determineFormat(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user