We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 850b8cf commit 4de4db9Copy full SHA for 4de4db9
packages/schematics/angular/migrations/update-6/index.ts
@@ -99,8 +99,13 @@ function migrateConfiguration(oldConfig: CliConfig): Rule {
99
};
100
}
101
102
-function extractCliConfig(_config: CliConfig): JsonObject | null {
103
- return null;
+function extractCliConfig(config: CliConfig): JsonObject | null {
+ const newConfig: JsonObject = {};
104
+ if (config.packageManager && config.packageManager !== 'default') {
105
+ newConfig['packageManager'] = config.packageManager;
106
+ }
107
+
108
+ return newConfig;
109
110
111
function extractSchematicsConfig(config: CliConfig): JsonObject | null {
0 commit comments