Skip to content

Commit

Permalink
fix(devkit): command format example should use derived info instead o…
Browse files Browse the repository at this point in the history
…f as-provided (#20065)
  • Loading branch information
meeroslav authored Nov 6, 2023
1 parent 1338a7c commit bc577c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bc577c6

Please sign in to comment.