Update booleanTriviaRule.ts

This commit is contained in:
Ryan Cavanaugh 2017-04-05 07:35:03 -07:00 committed by GitHub
parent a1be5a4d68
commit 40393c59ea

View File

@ -18,10 +18,6 @@ function walk(ctx: Lint.WalkContext<void>): void {
}
function checkCall(node: ts.CallExpression): void {
if (!node.arguments) {
return;
}
for (const arg of node.arguments) {
if (arg.kind !== ts.SyntaxKind.TrueKeyword && arg.kind !== ts.SyntaxKind.FalseKeyword) {
continue;
@ -52,4 +48,4 @@ function walk(ctx: Lint.WalkContext<void>): void {
}
}
}
}
}