Skip to content

Commit

Permalink
Add handling arrays in debug lib
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienTainon committed Apr 26, 2024
1 parent 80012ba commit 3bcf7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/task/libs/debug/DebugLibView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function DebugLibView() {
{taskState?.linesLogged.map((line, lineIndex) =>
<div className="debug-lib-line" key={lineIndex}>
<FontAwesomeIcon icon={faChevronRight}/>
<span>{line}</span>
<span>{Array.isArray(line) ? `[${line.join(', ')}]` : line}</span>
</div>
)}
</div>
Expand Down

0 comments on commit 3bcf7c0

Please sign in to comment.