Skip to content

Commit 9f9fa31

Browse files
committed
fix: make ignore coca_reports
1 parent f63d7f9 commit 9f9fa31

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 14. improve cloc summary
2+
3+
Date: 2020-11-04
4+
5+
## Status
6+
7+
2020-11-04 proposed
8+
9+
## Context
10+
11+
Context here...
12+
13+
## Decision
14+
15+
- exclude `coca_reporter`
16+
17+
## Consequences
18+
19+
Consequences here...

docs/adr/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
* [10. pluginable](0010-pluginable.md)
1313
* [11. module-treemap-visualization](0011-module-treemap-visualization.md)
1414
* [12. check-dependence-usage-for-module-seperate](0012-check-dependence-usage-for-module-seperate.md)
15-
* [13. performance-issue-for-antlar](0013-performance-issue-for-antlar.md)
15+
* [13. performance-issue-for-antlar](0013-performance-issue-for-antlar.md)
16+
* [14. improve-cloc-summary](0014-improve-cloc-summary.md)

pkg/application/cloc/cloc_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func CreateClocDir() error {
5252
}
5353

5454
func IsIgnoreDir(baseName string) bool {
55-
dirs := []string{".git", ".svn", ".hg", ".idea"}
55+
dirs := []string{".git", ".svn", ".hg", ".idea", "coca_reporter"}
5656
for _, dir := range dirs {
5757
if dir == baseName {
5858
return true

0 commit comments

Comments
 (0)