Skip to content

Commit 422ce42

Browse files
committed
refactor(@angular-devkit/schematics): remove optimize from host-tree
Remove unused optimize method marked for removal in version 7.0
1 parent 40601c4 commit 422ce42

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/angular_devkit/schematics/src/tree/host-tree.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,6 @@ export class HostTree implements Tree {
148148
return this._record.willRename(path);
149149
}
150150

151-
// This can be used by old Schematics library with new Trees in some corner cases.
152-
// TODO: remove this for 7.0
153-
optimize() {
154-
return this;
155-
}
156-
157151
branch(): Tree {
158152
const branchedTree = new HostTree(this._backend);
159153
branchedTree._record = this._record.clone();

0 commit comments

Comments
 (0)