1
0
Fork 0

lint: misc fixes

This commit is contained in:
ssube 2019-06-30 17:09:56 -05:00
parent c698d6e05c
commit 37e20fca21
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ Original rough outline document.
- should have schema and be validated - should have schema and be validated
- support all arguments (except config file) - support all arguments (except config file)
- TODO: parent config - parent config
## Run ## Run

View File

@ -198,7 +198,7 @@ export class Rule implements RuleData, Visitor<RuleResult> {
}; };
if (filter(node)) { if (filter(node)) {
ctx.logger.debug({ item: node }, 'checking item') ctx.logger.debug({ item: node }, 'checking item');
if (!check(node)) { if (!check(node)) {
const errors = Array.from(check.errors); const errors = Array.from(check.errors);
ctx.logger.warn({ ctx.logger.warn({