]> Cypherpunks repositories - gostls13.git/commit
cmd/go: go clean should not accept flags like -modcache with packages
authorcuiweixie <cuiweixie@gmail.com>
Fri, 26 Aug 2022 07:11:40 +0000 (15:11 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 30 Aug 2022 17:22:49 +0000 (17:22 +0000)
commitc22865fcfa1ec434e5655c652c6376fa2d0eb821
tree21e98439e2eab491435b7ffa71efc94df86bc6d9
parent67d85ad00f9d9be0cc2bb1bb96d01c3d40dcb376
cmd/go: go clean should not accept flags like -modcache with packages

For #53725

Change-Id: I99a85b437d5f918dba74c4eccefcf8087193646a
Reviewed-on: https://go-review.googlesource.com/c/go/+/425874
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/clean/clean.go
src/cmd/go/testdata/script/clean_cache_n.txt
src/cmd/go/testdata/script/clean_testcache.txt
src/cmd/go/testdata/script/mod_clean_cache.txt
src/cmd/go/testdata/script/test_fuzz_cache.txt