Skip to content

Commit

Permalink
fix: make ignore coca_reports
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 4, 2020
1 parent f63d7f9 commit 9f9fa31
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
19 changes: 19 additions & 0 deletions docs/adr/0014-improve-cloc-summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 14. improve cloc summary

Date: 2020-11-04

## Status

2020-11-04 proposed

## Context

Context here...

## Decision

- exclude `coca_reporter`

## Consequences

Consequences here...
3 changes: 2 additions & 1 deletion docs/adr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
* [10. pluginable](0010-pluginable.md)
* [11. module-treemap-visualization](0011-module-treemap-visualization.md)
* [12. check-dependence-usage-for-module-seperate](0012-check-dependence-usage-for-module-seperate.md)
* [13. performance-issue-for-antlar](0013-performance-issue-for-antlar.md)
* [13. performance-issue-for-antlar](0013-performance-issue-for-antlar.md)
* [14. improve-cloc-summary](0014-improve-cloc-summary.md)
2 changes: 1 addition & 1 deletion pkg/application/cloc/cloc_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func CreateClocDir() error {
}

func IsIgnoreDir(baseName string) bool {
dirs := []string{".git", ".svn", ".hg", ".idea"}
dirs := []string{".git", ".svn", ".hg", ".idea", "coca_reporter"}
for _, dir := range dirs {
if dir == baseName {
return true
Expand Down

0 comments on commit 9f9fa31

Please sign in to comment.