Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
theseanl committed Jan 22, 2024
1 parent 38cc352 commit a79f392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 1 addition & 3 deletions packages/unified-latex-util-macros/libs/newcommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a79f392

Please sign in to comment.