Skip to content

Commit

Permalink
[APPS-2133] Changed varible name to avoid lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kritagya09 committed Oct 3, 2023
1 parent fa29d4e commit 097817c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ export class StartTaskComponent implements OnInit, OnDestroy {
whitespaceValidator(control: UntypedFormControl): any {
if (control.value) {
const isWhitespace = (control.value || '').trim().length === 0;
const isValid = control.value.length === 0 || !isWhitespace;
return isValid ? null : { whitespace: true };
const isControlValid = control.value.length === 0 || !isWhitespace;
return isControlValid ? null : { whitespace: true };
}
return null;
}
Expand Down

0 comments on commit 097817c

Please sign in to comment.