We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11c6cf0 commit 287d55bCopy full SHA for 287d55b
src/index.js
@@ -250,10 +250,13 @@ function transformGlimmer(ast, { env }) {
250
return
251
}
252
253
- let siblings = parent?.type === 'ConcatStatement' ? {
254
- prev: parent.parts[index - 1],
255
- next: parent.parts[index + 1],
256
- } : null
+ let siblings =
+ parent?.type === 'ConcatStatement'
+ ? {
+ prev: parent.parts[index - 1],
257
+ next: parent.parts[index + 1],
258
+ }
259
+ : null
260
261
node.chars = sortClasses(node.chars, {
262
env,
@@ -498,11 +501,11 @@ function visit(ast, callbackMap) {
498
501
if (Array.isArray(child)) {
499
502
for (let j = 0; j < child.length; j++) {
500
503
if (child[j] !== null) {
- _visit(child[j], node, keys[i], j, {...meta})
504
+ _visit(child[j], node, keys[i], j, { ...meta })
505
506
507
} else if (typeof child?.type === 'string') {
- _visit(child, node, keys[i], i, {...meta})
508
+ _visit(child, node, keys[i], i, { ...meta })
509
510
511
0 commit comments