Remove dead code (#10784)

This commit is contained in:
fisker Cheung authored and GitHub committed 2021-04-29 23:21:04 +08:00
1 parent 28e67a25ac
commit 067826bc7a
1 file changed
-4
-4
View File
@@ -163,10 +163,6 @@ function needsParens(path, options) {
}
switch (node.type) {
case "SpreadElement":
case "SpreadProperty":
return name === "object" && parent.type === "MemberExpression";
case "UpdateExpression":
if (parent.type === "UnaryExpression") {
return (