We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b98c1ca commit c536c94Copy full SHA for c536c94
1 file changed
cli/src/components/tools/diff-viewer.tsx
@@ -50,7 +50,7 @@ const lineColor = (
50
51
export const DiffViewer = ({ diffText }: DiffViewerProps) => {
52
const theme = useTheme()
53
- const lines = diffText.split('\n')
+ const lines = diffText.trim().split('\n')
54
55
return (
56
<box
0 commit comments