Skip to content

Commit

Permalink
fix(core): correct require path when pulling in ngcli adapter for gen…
Browse files Browse the repository at this point in the history
…erators
  • Loading branch information
AgentEnder authored and vsavkin committed May 23, 2023
1 parent 7de80dd commit 2c5e7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/generate/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export async function generate(cwd: string, args: { [k: string]: any }) {
logger.warn(`\nNOTE: The "dryRun" flag means no changes were made.`);
}
} else {
require('../adapter/compat');
require('../../adapter/compat');
return (await import('../../adapter/ngcli-adapter')).generate(
workspaceRoot,
{
Expand Down

0 comments on commit 2c5e7b9

Please sign in to comment.