Skip to content

Commit

Permalink
fixup! Add basic attempt at local module handling
Browse files Browse the repository at this point in the history
Try and fix Windows test failures. I don't have access to a Windows
machine right now, but hopefully this works

Signed-off-by: Matthew Hughes <matthewhughes934@gmail.com>
  • Loading branch information
matthewhughes934 committed Dec 5, 2023
1 parent abf7ea4 commit 3521f2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/gci/testdata/module/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# try and stop git running on Windows from converting line endings from
# in all Go files under this directory. This is to avoid inconsistent test
# results when `gci` strips "\r" characters
**/*.go eol=lf

0 comments on commit 3521f2d

Please sign in to comment.