Skip to content

Commit fec31d3

Browse files
author
Andreas Müller
committed
fixed: check for undefined on freeLabels, if config missing, todo should include proper in config
1 parent 6f24ba3 commit fec31d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/output/base.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ class base {
106106
let times = [];
107107

108108
let spentFreeLabels = this.config.get('freeLabels');
109+
if(undefined === spentFreeLabels) {
110+
spentFreeLabels = [];
111+
}
109112

110113
['issues', 'mergeRequests'].forEach(type => {
111114
this.report[type].forEach(issue => {

0 commit comments

Comments
 (0)