From df753aaebfc9bc2be9bc798f72df7ed27f8a3096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E6=99=BA=E8=B6=850668000959?= Date: Sun, 14 Jun 2026 23:45:48 +0800 Subject: [PATCH] fix(filesystem): explicitly ignore Close() error on directory file descriptor --- pkg/tools/fs/filesystem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tools/fs/filesystem.go b/pkg/tools/fs/filesystem.go index 4b7a7ca3f..661fd6caf 100644 --- a/pkg/tools/fs/filesystem.go +++ b/pkg/tools/fs/filesystem.go @@ -1137,7 +1137,7 @@ func (r *sandboxFs) WriteFile(path string, data []byte) error { // Sync directory to ensure rename is durable if dirFile, err := root.Open("."); err == nil { _ = dirFile.Sync() - dirFile.Close() + _ = dirFile.Close() } return nil