dist/utils/isEmptyStmts.js in prettier-2.0.0 vs dist/utils/isEmptyStmts.js in prettier-2.1.0

- old
+ new

@@ -1,9 +1,9 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function isEmptyStmts(node) { return (node && - node.type === "stmts" && + node.type === "statements" && node.body.length === 1 && node.body[0].type === "void_stmt" && !node.body[0].comments); } exports.default = isEmptyStmts;