Skip to content

Commit 4e53c27

Browse files
committed
avoid a new problem with go clean -testcache
After upgrading to Go 1.20, I now see this error: go: clean -testcache cannot be used with package arguments More info: golang/go#53725
1 parent 606c425 commit 4e53c27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,8 @@ validate-builds:
556556
@$(MAKE) --no-print-directory TARGET=platform-win32-x64 SCOPE=@esbuild/ PACKAGE=win32-x64 SUBPATH=esbuild.exe validate-build
557557

558558
clean:
559-
go clean -testcache ./internal/...
559+
go clean -cache
560+
go clean -testcache
560561
rm -f esbuild
561562
rm -f npm/@esbuild/win32-arm64/esbuild.exe
562563
rm -f npm/@esbuild/win32-ia32/esbuild.exe

0 commit comments

Comments
 (0)