We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 322c26b commit 88d4f09Copy full SHA for 88d4f09
packages/schematics/angular/migrations/update-9/utils.ts
@@ -96,7 +96,7 @@ export function getWorkspace(host: Tree): JsonAstObject {
96
export function readJsonFileAsAstObject(host: Tree, path: string): JsonAstObject | undefined {
97
const configBuffer = host.read(path);
98
if (!configBuffer) {
99
- throw new SchematicsException(`Could not find (${path})`);
+ return undefined;
100
}
101
102
const content = configBuffer.toString();
0 commit comments