We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c875424 commit a7edd57Copy full SHA for a7edd57
packages/angular_devkit/schematics/src/rules/call.ts
@@ -84,7 +84,7 @@ export function callRule(
84
return observableOf(inputTree);
85
} else if (typeof result == 'function') {
86
// This is considered a Rule, chain the rule and return its output.
87
- return callRule(result, input, context);
+ return callRule(result, observableOf(inputTree), context);
88
} else if (isObservable(result)) {
89
// Only return the last Tree, and make sure it's a Tree.
90
return result.pipe(
0 commit comments