Skip to content

Commit da8803e

Browse files
committed
Improve readability for serial monitor utils
Replace return statement in inline method by direct statement, some minor formatting changes. Does not affect the functionality.
1 parent b8e1985 commit da8803e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arduino-ide-extension/src/browser/serial/monitor/monitor-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ export function truncateLines(
6868
return [lines, charCount];
6969
}
7070

71-
export function linesToMergedStr(lines: Line[]) : string {
72-
return lines.map((line: Line) => {return line.message}).join("");
71+
export function linesToMergedStr(lines: Line[]): string {
72+
return lines.map((line: Line) => line.message).join('');
7373
}

0 commit comments

Comments
 (0)