Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 031dabb

Browse files
author
Isaac Würth
committed
minor changed
1 parent 58dc8fe commit 031dabb

File tree

2 files changed

+5
-95
lines changed

2 files changed

+5
-95
lines changed

epj.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/output/charts.js

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const format = {
1313
/**
1414
* stdout table output
1515
*/
16-
class markdown extends Base {
16+
class chart extends Base {
1717
constructor(config, report) {
1818
let newConfig = Object.assign({}, config);
1919
newConfig.toHumanReadable = function (input) {
@@ -77,38 +77,11 @@ class markdown extends Base {
7777

7878
makeStats() {}
7979

80-
makeIssues() {
81-
this.headline('ISSUES');
80+
makeIssues() {}
8281

83-
if (this.report.issues.length === 0)
84-
return this.warning('No issues found');
82+
makeMergeRequests() {}
8583

86-
let issues = [this.config.get('issueColumns').map(c => c.replace('_', ' '))];
87-
this.report.issues.forEach(issue => issues.push(this.prepare(issue, this.config.get('issueColumns'))));
88-
89-
this.write(Table(issues));
90-
}
91-
92-
makeMergeRequests() {
93-
this.headline('MERGE REQUESTS');
94-
95-
if (this.report.mergeRequests.length === 0)
96-
return this.warning('No merge requests found');
97-
98-
let mergeRequests = [this.config.get('mergeRequestColumns').map(c => c.replace('_', ' '))];
99-
this.report.mergeRequests.forEach(mergeRequest => mergeRequests.push(this.prepare(mergeRequest, this.config.get('mergeRequestColumns'))));
100-
101-
this.write(Table(mergeRequests));
102-
}
103-
104-
makeRecords() {
105-
this.headline('TIME RECORDS');
106-
107-
let times = [this.config.get('recordColumns').map(c => c.replace('_', ' '))];
108-
this.times.forEach(time => times.push(this.prepare(time, this.config.get('recordColumns'))));
109-
110-
this.write(Table(times));
111-
}
84+
makeRecords() {}
11285
}
11386

114-
module.exports = markdown;
87+
module.exports = chart;

0 commit comments

Comments
 (0)