Skip to content

Commit

Permalink
chore(core): add missing formatFiles call to migration (#16614)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Apr 27, 2023
1 parent fbf8d9c commit 68f019e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -61,6 +62,8 @@ export default async function (tree: Tree) {
updateProjectConfiguration(tree, projectName, projectConfiguration);
}
}

formatChangedFilesWithPrettierIfAvailable(tree);
}
function updateDependsOnAndInputsInsideNxJson(tree: Tree) {
const nxJson = readNxJson(tree);
Expand Down

1 comment on commit 68f019e

@vercel
Copy link

@vercel vercel bot commented on 68f019e Apr 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.