diff options
Diffstat (limited to 'src/graph.ts')
-rw-r--r-- | src/graph.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graph.ts b/src/graph.ts index 828e07f..d5a65b2 100644 --- a/src/graph.ts +++ b/src/graph.ts @@ -46,7 +46,10 @@ export function getGraphData( if (!events[id]) continue; events[id].forEach(event => { patternsByCal[id].forEach(p => { - if (!p.event.regex.test(event.summary)) return; + if (!p.event.regex.test(event.summary)) { + console.log(event.summary, p.event.regex); + return; + } if (!cal_results.hasOwnProperty(id)) { cal_results[id] = 0; } |