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 8adb372 commit 664289dCopy full SHA for 664289d
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