Skip to content

Commit 8558878

Browse files
Splaktarjelbourn
authored andcommitted
fix(schematics): remove unnecessary semicolon in tree component (#13284)
add space after semicolon
1 parent 0ccdfc8 commit 8558878

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/schematics/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{node.name}}
88
</mat-tree-node>
99

10-
<mat-tree-node *matTreeNodeDef="let node;when: hasChild" matTreeNodePadding>
10+
<mat-tree-node *matTreeNodeDef="let node; when: hasChild" matTreeNodePadding>
1111
<button mat-icon-button matTreeNodeToggle
1212
[attr.aria-label]="'toggle ' + node.name">
1313
<mat-icon class="mat-icon-rtl-mirror">

src/lib/schematics/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class <%= classify(name) %>Component {
7676
/** Get whether the node is expanded or not. */
7777
isExpandable(node: FlatTreeNode) {
7878
return node.expandable;
79-
};
79+
}
8080

8181
/** Get whether the node has children or not. */
8282
hasChild(index: number, node: FlatTreeNode) {

0 commit comments

Comments
 (0)