Skip to content

Commit

Permalink
fix(core): add log line to inform install after migration (#9559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Mar 28, 2022
1 parent c058c30 commit 8e09875
Showing 1 changed file with 10 additions and 1 deletion.
@@ -1,4 +1,9 @@
import { Tree, updateJson } from '@nrwl/devkit';
import {
getPackageManagerCommand,
logger,
Tree,
updateJson,
} from '@nrwl/devkit';

export function replaceTaoWithNx(host: Tree) {
updateJson(host, 'package.json', (json: any) => {
Expand All @@ -11,6 +16,10 @@ export function replaceTaoWithNx(host: Tree) {
removeTao(json.devDependencies);
return json;
});
const pmc = getPackageManagerCommand();
logger.info(
`Please run ${pmc.install} to ensure the correct version of Nx is installed.`
);
}

function removeTao(json: any) {
Expand Down

0 comments on commit 8e09875

Please sign in to comment.