fixes formatting
This commit is contained in:
parent
2bfb82f24a
commit
897a70a8ba
2 changed files with 2 additions and 2 deletions
|
|
@ -663,7 +663,7 @@ function genericPrintNoParens(path: any, options: any, print: any) {
|
|||
if (n.argument) {
|
||||
const argIsJsxElement =
|
||||
namedTypes.JSXElement?.check(n.argument) ||
|
||||
namedTypes.JSXFragment?.check(n.argument)
|
||||
namedTypes.JSXFragment?.check(n.argument);
|
||||
|
||||
let argLines = path.call(print, "argument");
|
||||
if (
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ it("should not double parentheses in Babel", function () {
|
|||
" );\n" +
|
||||
"}";
|
||||
|
||||
const ast = parse(source, {parser: require("../parsers/babel")});
|
||||
const ast = parse(source, { parser: require("../parsers/babel") });
|
||||
ast.program.body[0].body.body[1].argument.openingElement.attributes[0].name.name =
|
||||
"abc";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue