fix(misc): add missing format files call (#22137)
This commit is contained in:
parent
dd666baa6e
commit
58d8f4cc13
@ -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.
|
||||
@ -18,4 +19,5 @@ export default function update(host: Tree) {
|
||||
}
|
||||
updateNxJson(host, nxJson);
|
||||
}
|
||||
formatChangedFilesWithPrettierIfAvailable(host);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user