Skip to content

Commit 68f019e

Browse files
authoredApr 27, 2023
chore(core): add missing formatFiles call to migration (#16614)
1 parent fbf8d9c commit 68f019e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎packages/nx/src/migrations/update-16-0-0/update-depends-on-to-tokens.ts

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
updateProjectConfiguration,
66
} from '../../generators/utils/project-configuration';
77
import { Tree } from '../../generators/tree';
8+
import { formatChangedFilesWithPrettierIfAvailable } from '../../generators/internal-utils/format-changed-files-with-prettier-if-available';
89

910
export default async function (tree: Tree) {
1011
updateDependsOnAndInputsInsideNxJson(tree);
@@ -61,6 +62,8 @@ export default async function (tree: Tree) {
6162
updateProjectConfiguration(tree, projectName, projectConfiguration);
6263
}
6364
}
65+
66+
formatChangedFilesWithPrettierIfAvailable(tree);
6467
}
6568
function updateDependsOnAndInputsInsideNxJson(tree: Tree) {
6669
const nxJson = readNxJson(tree);

1 commit comments

Comments
 (1)

vercel[bot] commented on Apr 27, 2023

@vercel[bot]

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev
nx-dev-nrwl.vercel.app

Please sign in to comment.