Remove leftover arrowParensAlways option (#171)

This commit is contained in:
James Long authored and GitHub committed 2017-01-13 14:18:42 -05:00
1 parent 0b70a0f2a3
commit 31a07feb84
1 file changed
+5 -5
+5 -5
View File
@@ -327,11 +327,11 @@ function genericPrintNoParens(path, options, print) {
}
if (
!options.arrowParensAlways && n.params.length === 1 && !n.rest &&
n.params[0].type === "Identifier" &&
!n.params[0].typeAnnotation &&
!n.predicate &&
!n.returnType
n.params.length === 1 && !n.rest &&
n.params[0].type === "Identifier" &&
!n.params[0].typeAnnotation &&
!n.predicate &&
!n.returnType
) {
parts.push(path.call(print, "params", 0));
} else {