From 68f019e0efbb867a2730faece872d729459b6113 Mon Sep 17 00:00:00 2001 From: Craigory Coppola Date: Thu, 27 Apr 2023 13:11:25 -0400 Subject: [PATCH] chore(core): add missing formatFiles call to migration (#16614) --- .../migrations/update-16-0-0/update-depends-on-to-tokens.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nx/src/migrations/update-16-0-0/update-depends-on-to-tokens.ts b/packages/nx/src/migrations/update-16-0-0/update-depends-on-to-tokens.ts index fa7f68b55a2da..30a75b27b26d7 100644 --- a/packages/nx/src/migrations/update-16-0-0/update-depends-on-to-tokens.ts +++ b/packages/nx/src/migrations/update-16-0-0/update-depends-on-to-tokens.ts @@ -5,6 +5,7 @@ import { updateProjectConfiguration, } from '../../generators/utils/project-configuration'; import { Tree } from '../../generators/tree'; +import { formatChangedFilesWithPrettierIfAvailable } from '../../generators/internal-utils/format-changed-files-with-prettier-if-available'; export default async function (tree: Tree) { updateDependsOnAndInputsInsideNxJson(tree); @@ -61,6 +62,8 @@ export default async function (tree: Tree) { updateProjectConfiguration(tree, projectName, projectConfiguration); } } + + formatChangedFilesWithPrettierIfAvailable(tree); } function updateDependsOnAndInputsInsideNxJson(tree: Tree) { const nxJson = readNxJson(tree);