fix(misc): ignore .nx/cache when running nx init in an angular cli project (#21000)
This commit is contained in:
parent
a2f7ae7f22
commit
3d1899e5cc
@ -11,6 +11,7 @@ import {
|
||||
initCloud,
|
||||
printFinalMessage,
|
||||
runInstall,
|
||||
updateGitIgnore,
|
||||
} from '../utils';
|
||||
import { setupIntegratedWorkspace } from './integrated-workspace';
|
||||
import { getLegacyMigrationFunctionIfApplicable } from './legacy-angular-versions';
|
||||
@ -147,6 +148,8 @@ async function setupWorkspace(
|
||||
cacheableOperations: string[],
|
||||
isIntegratedMigration: boolean
|
||||
): Promise<void> {
|
||||
updateGitIgnore(repoRoot);
|
||||
|
||||
if (isIntegratedMigration) {
|
||||
setupIntegratedWorkspace();
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user