Skip to content

Commit

Permalink
fix(misc): add missing format files call (#22137)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Mar 4, 2024
1 parent dd666ba commit 58d8f4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nx/src/migrations/update-17-2-0/move-default-base.ts
Expand Up @@ -2,6 +2,7 @@
import { readNxJson, updateNxJson } from '../../generators/utils/nx-json';
import { Tree } from '../../generators/tree';
import { NxJsonConfiguration } from '../../config/nx-json';
import { formatChangedFilesWithPrettierIfAvailable } from '../../generators/internal-utils/format-changed-files-with-prettier-if-available';

/**
* Updates existing workspaces to move nx.json's affected.defaultBase to nx.json's base.
Expand All @@ -18,4 +19,5 @@ export default function update(host: Tree) {
}
updateNxJson(host, nxJson);
}
formatChangedFilesWithPrettierIfAvailable(host);
}

0 comments on commit 58d8f4c

Please sign in to comment.