driusan / bug

Distributed bug tracking with the filesystem and hg or git
GNU General Public License v3.0
205 stars 7 forks source link

check mkdir returned err #21

Closed grantbow closed 5 years ago

grantbow commented 5 years ago
closes #16

This works great. I think a better implementation is to make Directory.go:GetRootDir() return empty if the issues directory is missing in BOTH the non PMIT and PMIT cases. However several tests depend on the bad behavior and it would require some more refactoring of code and tests which can be done separately.

codecov-io commented 5 years ago

Codecov Report

Merging #21 into master will decrease coverage by 0.05%. The diff coverage is 25%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #21      +/-   ##
=========================================
- Coverage   21.35%   21.3%   -0.06%     
=========================================
  Files          29      29              
  Lines        1166    1169       +3     
=========================================
  Hits          249     249              
- Misses        892     894       +2     
- Partials       25      26       +1
Impacted Files Coverage Δ
bugapp/Create.go 42.62% <25%> (-2.21%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 684435e...c374ccd. Read the comment docs.