Skip to content

Commit 9629929

Browse files
authored
fix: tsdiff more readable (#8572)
1 parent 5643fd7 commit 9629929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/compareAPIs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function getDiff(pair) {
274274
} else {
275275
result = [...result, ...hunk.lines.map(line => {
276276
if (line.startsWith('+')) {
277-
return chalk.whiteBright.bgGreen(line);
277+
return chalk.whiteBright.bgRgb(0, 60, 0)(line);
278278
} else if (line.startsWith('-')) {
279279
return chalk.whiteBright.bgRed(line);
280280
}

0 commit comments

Comments
 (0)