From 5959203daea84cd15e8b9c851696cc92a313fb60 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sun, 3 Nov 2024 20:38:55 -0500 Subject: [PATCH] feat: summary show occurrence --- conf.json | 2 +- expected.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.json b/conf.json index cfa7098..ee77eff 100644 --- a/conf.json +++ b/conf.json @@ -34,7 +34,7 @@ "fullScore": 100, "minScore": 0, "files": ["stdout"], - "endOnMatch": true, + "forceQuitOnDeduct": true, "matches": [ { "keywords": ["check files error"], diff --git a/expected.json b/expected.json index dc6d7be..e023916 100644 --- a/expected.json +++ b/expected.json @@ -1 +1 @@ -[{"name":"keyword","results":[{"score":95,"comment":"Matched keyword 1 time(s): check files error\n"}],"force_quit":true}] +[{"name":"keyword","results":[{"score":95,"comment":"1. `check files error`: 1 occurrence(s), -5 point(s)\n"}],"force_quit":true}]