Skip to content

Commit 972fd50

Browse files
committed
refactor: remove self-evident comments from migrator
1 parent c061823 commit 972fd50

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/cli/src/migration/migrator.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,6 @@ export function rewriteStandaloneProject(
810810
migratePnpmOverridesToWorkspaceYaml(projectPath, remainingPnpmOverrides);
811811
}
812812

813-
// Ensure .yarnrc.yml exists with nodeLinker for standalone yarn projects
814813
if (packageManager === PackageManager.yarn) {
815814
rewriteYarnrcYml(projectPath);
816815
}
@@ -1121,7 +1120,6 @@ function rewriteYarnrcYml(projectPath: string): void {
11211120
}
11221121

11231122
editYamlFile(yarnrcYmlPath, (doc) => {
1124-
// Ensure nodeLinker is set to node-modules (yarn 4 defaults to PnP)
11251123
if (!doc.has('nodeLinker')) {
11261124
doc.set('nodeLinker', 'node-modules');
11271125
}

0 commit comments

Comments
 (0)