◐ Shell
clean mode source ↗

tools: bump eslint version · nodejs/node@b5a8a81

File tree

  • lib/internal/test_runner/reporter

Original file line numberDiff line numberDiff line change

@@ -41,9 +41,11 @@ function treeToXML(tree) {

4141

if (comment) {

4242

return `${indent}<!-- ${escapeComment(comment)} -->\n`;

4343

}

44-

const attrsString = ArrayPrototypeJoin(ArrayPrototypeMap(ObjectEntries(attrs)

45-

, ({ 0: key, 1: value }) => `${key}="${escapeAttribute(String(value))}"`)

46-

, ' ');

44+

const attrsString = ArrayPrototypeJoin(

45+

ArrayPrototypeMap(

46+

ObjectEntries(attrs),

47+

({ 0: key, 1: value }) => `${key}="${escapeAttribute(String(value))}"`),

48+

' ');

4749

if (!children?.length) {

4850

return `${indent}<${tag} ${attrsString}/>\n`;

4951

}

Original file line numberDiff line numberDiff line change

@@ -61,8 +61,8 @@ function sum(p, c) {

6161

throw new Error('boom');

6262

}

6363

return c;

64-

}, 0)

65-

, /boom/).then(common.mustCall());

64+

}, 0),

65+

/boom/).then(common.mustCall());

6666

}

6767
6868

{