Skip to content

Commit

Permalink
chore(core): remove unnecessary standalone check
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed May 10, 2022
1 parent 0447b51 commit 78ef57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/generators/utils/project-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ function addProjectToWorkspaceJson(
? joinPathFragments(project.root, 'project.json')
: getProjectFileLocation(tree, projectName);
const jsonSchema =
configFile && mode === 'create' && standalone
configFile && mode === 'create'
? { $schema: getRelativeProjectJsonSchemaPath(tree, project) }
: {};

Expand Down

0 comments on commit 78ef57b

Please sign in to comment.