mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
* fix adf lint (#7152)
This commit is contained in:
parent
cb5c3abd7c
commit
8024f828f7
@ -60,7 +60,6 @@ export class CardViewSelectItemComponent extends BaseCardView<CardViewSelectItem
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log
|
||||
this.getOptions()
|
||||
.pipe(takeUntil(this.onDestroy$))
|
||||
.subscribe((options: CardViewSelectItemOption<string>[]) => {
|
||||
|
@ -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();
|
||||
});
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user