Skip to content

Commit 56b9846

Browse files
committed
Fix lint issue
1 parent 84a8697 commit 56b9846

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/input/input-container.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,9 @@ export class MdInputContainer implements AfterViewInit, AfterContentInit, AfterC
394394
/** Whether the input container is in an error state. */
395395
_isErrorState(): boolean {
396396
const control = this._mdInputChild._ngControl;
397-
return this.errorStateMatcher ? this.errorStateMatcher(control) : this._defaultErrorStateMatcher(control);
397+
return this.errorStateMatcher
398+
? this.errorStateMatcher(control)
399+
: this._defaultErrorStateMatcher(control);
398400
}
399401

400402
/** Determines whether to display hints or errors. */

0 commit comments

Comments
 (0)