Skip to content

Commit

Permalink
fix(react): reuse already determined format
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Aug 17, 2023
1 parent 89bac7a commit 4ac875c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ export async function normalizeOptions<T extends Schema = Schema>(
host: Tree,
options: Schema
): Promise<NormalizedSchema<T>> {
// TODO(leo): uncomment things below
const {
projectName: appProjectName,
projectRoot: appProjectRoot,
// projectNameAndRootFormat,
projectNameAndRootFormat,
} = await determineProjectNameAndRootOptions(host, {
name: options.name,
projectType: 'application',
Expand All @@ -33,7 +32,7 @@ export async function normalizeOptions<T extends Schema = Schema>(
rootProject: options.rootProject,
});
options.rootProject = appProjectRoot === '.';
// options.projectNameAndRootFormat = projectNameAndRootFormat;
options.projectNameAndRootFormat = projectNameAndRootFormat;

let e2eProjectName = 'e2e';
let e2eProjectRoot = 'e2e';
Expand Down

0 comments on commit 4ac875c

Please sign in to comment.