From a79f39257471aed09300196b09007604b7e86388 Mon Sep 17 00:00:00 2001 From: theseanl Date: Tue, 23 Jan 2024 01:46:43 +0900 Subject: [PATCH] chore: run prettier --- .../unified-latex-util-arguments/libs/gobble-arguments.ts | 4 +--- packages/unified-latex-util-macros/libs/newcommand.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/unified-latex-util-arguments/libs/gobble-arguments.ts b/packages/unified-latex-util-arguments/libs/gobble-arguments.ts index 5acd52ca..70eedced 100644 --- a/packages/unified-latex-util-arguments/libs/gobble-arguments.ts +++ b/packages/unified-latex-util-arguments/libs/gobble-arguments.ts @@ -57,9 +57,7 @@ export function gobbleArguments( } args.push( - ...spec.tokens.map( - (t) => tokenToArgs.get(t) || emptyArg() - ) + ...spec.tokens.map((t) => tokenToArgs.get(t) || emptyArg()) ); } else { const { argument, nodesRemoved: removed } = gobbleSingleArgument( diff --git a/packages/unified-latex-util-macros/libs/newcommand.ts b/packages/unified-latex-util-macros/libs/newcommand.ts index e57f690b..fa45a1d2 100644 --- a/packages/unified-latex-util-macros/libs/newcommand.ts +++ b/packages/unified-latex-util-macros/libs/newcommand.ts @@ -204,9 +204,7 @@ export function createMacroExpander( if (node.type === "embellishment") { return ( node.defaultArgs || - (Array(node.tokens.length).fill( - undefined - ) as undefined[]) + (Array(node.tokens.length).fill(undefined) as undefined[]) ); } return node.defaultArg;