Skip to content

Commit

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

ISSUES CLOSED: #9291

Co-authored-by: Richard Roozenboom <richard.roozenboom@rabobank.nl>
  • Loading branch information
Roozenboom and Roozenboom committed Mar 11, 2022
1 parent ca38be7 commit 5949c4e
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 5949c4e

Please sign in to comment.