You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the introduction of the persistent Go mod cache, unformatted files in that cache break the build now.
Since GOMODCACHE is set to $ROOT_DIR/.ods-cache/deps/gomod, files in the cache are considered when running gofmt -l .. This shouldn't be the case. Anything in the Go mod cache should be ignored.
With the introduction of the persistent Go mod cache, unformatted files in that cache break the build now.
Since
GOMODCACHE
is set to$ROOT_DIR/.ods-cache/deps/gomod
, files in the cache are considered when runninggofmt -l .
. This shouldn't be the case. Anything in the Go mod cache should be ignored.I suggest to change to
go fmt $(go list ./...)
.FYI @henrjk
The text was updated successfully, but these errors were encountered: