Skip to content

Commit baf9dbe

Browse files
feat(js): trim before show
1 parent 38c9386 commit baf9dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shell/script/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const splitIntoLines = (str, maxLen) => {
3838

3939
x++
4040
}
41-
lines.push(line.substr(0, x))
41+
lines.push(line.substr(0, x).trim())
4242
i += x
4343
}
4444

0 commit comments

Comments
 (0)