mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(migrations): support --defaults in standalone migration (#48921)
Fixes that running the standalone migration with `--defaults` was throwing an error, because all the properties were specified as required. We don't need to set them as required, because they have default values. Fixes #48845. PR Close #48921
This commit is contained in:
committed by
Dylan Hunn
parent
a40cd47aa7
commit
584976e6c8
@@ -30,13 +30,9 @@
|
||||
},
|
||||
"path": {
|
||||
"type": "string",
|
||||
"$default": {
|
||||
"$source": "workingDirectory"
|
||||
},
|
||||
"description": "Path relative to the project root which should be migrated",
|
||||
"x-prompt": "Which path in your project should be migrated?",
|
||||
"default": "./"
|
||||
}
|
||||
},
|
||||
"required": ["mode", "path"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user