Closed danteay closed 1 year ago
Merging #126 (735f06d) into master (8ec65d1) will increase coverage by
0.54%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #126 +/- ##
==========================================
+ Coverage 89.53% 90.08% +0.54%
==========================================
Files 8 8
Lines 621 625 +4
==========================================
+ Hits 556 563 +7
+ Misses 45 43 -2
+ Partials 20 19 -1
Flag | Coverage Δ | |
---|---|---|
unittests | 90.08% <100.00%> (+0.54%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Files Changed | Coverage Δ | |
---|---|---|
pkg/astutil/astutil.go | 83.33% <ø> (ø) |
|
reviser/dir.go | 69.66% <100.00%> (+4.95%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Description
From last release
v3.4.0
when using the next commandgoimports-reviser ./...
it throws and error from filepath that provided path is not a valid folder.This fix removes the suffix
/...
from the absolute path to get the real valid folder that should be formatted.Related Issues
https://github.com/incu6us/goimports-reviser/issues/123 https://github.com/incu6us/goimports-reviser/issues/118 https://github.com/incu6us/goimports-reviser/issues/93