Skip to content

Commit 783f006

Browse files
committed
Go: Update go clean -modcache comment
1 parent c005200 commit 783f006

File tree

20 files changed

+40
-20
lines changed

20 files changed

+40
-20
lines changed

go/ql/integration-tests/all-platforms/go/bazel-sample-1/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/bazel-sample-2/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/diagnostics/no-go-files-found/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-without-go-mod/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/diagnostics/unsupported-relative-path/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414

1515
check_diagnostics()
1616

17-
# Clean up the temporary GOPATH
17+
# Clean up the temporary GOPATH to prevent Bazel failures next
18+
# time the tests are run; see https://github.com/golang/go/issues/27161
1819
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/go-get-without-modules-sample/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
os.environ['GOPATH'] = goPath
1111
run_codeql_database_create([], lang="go", source="src")
1212

13-
# Clean up the temporary GOPATH
13+
# Clean up the temporary GOPATH to prevent Bazel failures next
14+
# time the tests are run; see https://github.com/golang/go/issues/27161
1415
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/go-mod-sample/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
os.environ['GOPATH'] = goPath
1111
run_codeql_database_create([], lang="go", source="src")
1212

13-
# Clean up the temporary GOPATH
13+
# Clean up the temporary GOPATH to prevent Bazel failures next
14+
# time the tests are run; see https://github.com/golang/go/issues/27161
1415
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/make-sample/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
os.environ['GOPATH'] = goPath
1111
run_codeql_database_create([], lang="go", source="src")
1212

13-
# Clean up the temporary GOPATH
13+
# Clean up the temporary GOPATH to prevent Bazel failures next
14+
# time the tests are run; see https://github.com/golang/go/issues/27161
1415
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/ninja-sample/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
os.environ['GOPATH'] = goPath
1111
run_codeql_database_create([], lang="go", source="src")
1212

13-
# Clean up the temporary GOPATH
13+
# Clean up the temporary GOPATH to prevent Bazel failures next
14+
# time the tests are run; see https://github.com/golang/go/issues/27161
1415
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/single-go-mod-and-go-files-not-under-it/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313

1414
check_diagnostics()
1515

16-
# Clean up the temporary GOPATH
16+
# Clean up the temporary GOPATH to prevent Bazel failures next
17+
# time the tests are run; see https://github.com/golang/go/issues/27161
1718
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/single-go-mod-in-root/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313

1414
check_diagnostics()
1515

16-
# Clean up the temporary GOPATH
16+
# Clean up the temporary GOPATH to prevent Bazel failures next
17+
# time the tests are run; see https://github.com/golang/go/issues/27161
1718
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/single-go-mod-not-in-root/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313

1414
check_diagnostics()
1515

16-
# Clean up the temporary GOPATH
16+
# Clean up the temporary GOPATH to prevent Bazel failures next
17+
# time the tests are run; see https://github.com/golang/go/issues/27161
1718
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/single-go-work-not-in-root/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313

1414
check_diagnostics()
1515

16-
# Clean up the temporary GOPATH
16+
# Clean up the temporary GOPATH to prevent Bazel failures next
17+
# time the tests are run; see https://github.com/golang/go/issues/27161
1718
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/two-go-mods-nested-none-in-root/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313

1414
check_diagnostics()
1515

16-
# Clean up the temporary GOPATH
16+
# Clean up the temporary GOPATH to prevent Bazel failures next
17+
# time the tests are run; see https://github.com/golang/go/issues/27161
1718
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/two-go-mods-nested-one-in-root/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313

1414
check_diagnostics()
1515

16-
# Clean up the temporary GOPATH
16+
# Clean up the temporary GOPATH to prevent Bazel failures next
17+
# time the tests are run; see https://github.com/golang/go/issues/27161
1718
subprocess.call(["go", "clean", "-modcache"])

go/ql/integration-tests/all-platforms/go/two-go-mods-not-nested/test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313

1414
check_diagnostics()
1515

16-
# Clean up the temporary GOPATH
16+
# Clean up the temporary GOPATH to prevent Bazel failures next
17+
# time the tests are run; see https://github.com/golang/go/issues/27161
1718
subprocess.call(["go", "clean", "-modcache"])

0 commit comments

Comments
 (0)