Skip to content

Commit 35f4aa2

Browse files
authored
Fix todo to enable modules-download-mode in golangci (open-telemetry#2689)
Signed-off-by: Bogdan Drutu <[email protected]>
1 parent 76af325 commit 35f4aa2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.golangci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ run:
3636
# If invoked with -mod=vendor, the go command assumes that the vendor
3737
# directory holds the correct copies of dependencies and ignores
3838
# the dependency descriptions in go.mod.
39-
# TODO: re-enable after understanding the issue:
40-
# ERRO Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: build flag -mod=readonly only valid when using modules
41-
# modules-download-mode: readonly
39+
modules-download-mode: readonly
4240

4341
# output configuration options
4442
output:

0 commit comments

Comments
 (0)