Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: filed to fix directory when using ./... path #126

Merged
merged 1 commit into from
Aug 26, 2023

Conversation

danteay
Copy link
Contributor

@danteay danteay commented Aug 26, 2023

Description

From last release v3.4.0 when using the next command goimports-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

#123
#118
#93

@codecov
Copy link

codecov bot commented Aug 26, 2023

Codecov Report

Merging #126 (735f06d) into master (8ec65d1) will increase coverage by 0.54%.
The diff coverage is 100.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%) ⬆️

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%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@danteay danteay force-pushed the fix/filed-to-fix-path branch 2 times, most recently from b871ccf to a31f632 Compare August 26, 2023 19:19
@incu6us incu6us merged commit 91b69df into incu6us:master Aug 26, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants