Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit e89cb93

Browse files
committed
Fix regex
1 parent 1834f5b commit e89cb93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class LogOutput extends Component {
6161

6262
get printLogs() {
6363
setTimeout(() => this._ref.current.scrollToEnd(), 50);
64-
return this.props.logs.map(l => l.replace(/\s$/g, '')).join('\n');
64+
return this.props.logs.map(l => l.replace(/\s+$/, '')).join('\n');
6565
}
6666

6767
render() {

0 commit comments

Comments
 (0)