Skip to content

Commit

Permalink
fix(angular): jest-preset-angular migration format files once
Browse files Browse the repository at this point in the history
Move the formatFiles call outside of the for loop

ISSUES CLOSED: nrwl#9291
  • Loading branch information
Roozenboom committed Mar 11, 2022
1 parent a32d46c commit 8097baf
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -24,9 +24,8 @@ export default async function (tree: Tree) {
angularProjects[projectName] = [jestConfigPath, jestConfig];
}
}

await formatFiles(tree);
}
await formatFiles(tree);

for (const [_, [jestConfigPath, jestFileContents]] of Object.entries(
angularProjects
Expand Down

0 comments on commit 8097baf

Please sign in to comment.