We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598c5da commit 07c73a1Copy full SHA for 07c73a1
packages/angular_devkit/schematics/src/tree/host-tree.ts
@@ -134,6 +134,12 @@ export class HostTree implements Tree {
134
return this._record.willRename(path);
135
}
136
137
+ // This can be used by old Schematics library with new Trees in some corner cases.
138
+ // TODO: remove this for 7.0
139
+ optimize() {
140
+ return this;
141
+ }
142
+
143
branch(): Tree {
144
const branchedTree = new HostTree(this._backend);
145
branchedTree._record = this._record.clone();
0 commit comments