* fix adf lint (#7152)

This commit is contained in:
Dharan 2021-07-05 20:25:02 +05:30 committed by GitHub
parent cb5c3abd7c
commit 8024f828f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 8 deletions

View File

@ -60,7 +60,6 @@ export class CardViewSelectItemComponent extends BaseCardView<CardViewSelectItem
}
ngOnInit() {
console.log
this.getOptions()
.pipe(takeUntil(this.onDestroy$))
.subscribe((options: CardViewSelectItemOption<string>[]) => {

View File

@ -1049,7 +1049,7 @@ describe('FormFieldValidator', () => {
});
});
describe('DateTimeFieldValidator', () => {
describe('DateTimeFieldValidator', () => {
let validator: DateTimeFieldValidator;
@ -1070,7 +1070,7 @@ describe('FormFieldValidator', () => {
it('should validate dateTime format with default format', () => {
const field = new FormFieldModel(new FormModel(), {
type: FormFieldTypes.DATETIME,
value: '2021-06-09 14:10',
value: '2021-06-09 14:10'
});
expect(validator.validate(field)).toBeTruthy();
});

View File

@ -9,14 +9,14 @@ if grep "envalfresco" . -R --exclude-dir={node_modules,.history,.idea,scripts,di
fi
echo "Lint"
nx affected:lint --parallel --all --maxParallel=9
nx affected:lint --parallel --all --maxParallel=9 || exit 1
echo "Style Lint"
npm run stylelint
npm run stylelint || exit 1
echo "Spell check"
npm run spellcheck
npm run spellcheck || exit 1
echo "License check"
npm run license-checker
npm run validate-config
npm run license-checker || exit 1
npm run validate-config || exit 1