Make terminator paren comment check more strict (#5651)

This commit is contained in:
Brian Ng
2017-09-15 13:06:24 -05:00
committed by Logan Smyth
parent bf93be47c2
commit 7f390b0282
6 changed files with 21 additions and 5 deletions

View File

@@ -199,7 +199,7 @@ export function AssignmentExpression(node: Object): boolean {
}
}
// Walk up the print stack to deterimine if our node can come first
// Walk up the print stack to determine if our node can come first
// in statement.
function isFirstInStatement(
printStack: Array<Object>,