Skip to content

Commit fe7368a

Browse files
committed
Fix issue with default cli presenter
1 parent 6fa9e27 commit fe7368a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-repo-tools",
3-
"version": "2.3.0-rc.9",
3+
"version": "2.3.0-rc.10",
44
"description": "Useful tool to get versions from all repos of Github user/org",
55
"main": "build/index.js",
66
"bin": {

src/modules/presenter/default.presenter.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ import { Writable } from 'stream';
1414
export class DefaultPresenterService implements IPresenterService {
1515
private spinner: ora.Ora = null;
1616

17-
constructor (
17+
constructor(
1818
private tableService: TableService,
1919
@Inject('STREAM') protected stream: Writable,
2020
) {
2121
}
2222

2323
public write(str: string) {
24-
this.stream.write(str);
24+
this.stream.write(str+ '\n');
2525
}
2626

2727
public configure() {

0 commit comments

Comments
 (0)