fix: restore missing blob file when re-publishing a package (#39239)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Huang-404-Q
2026-09-05 10:33:36 +02:00
committed by GitHub
co-authored by wxiaoguang
parent e4455fb494
commit efa69e7230
10 changed files with 145 additions and 76 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
package storage
import (
"io/fs"
"os"
"strings"
"testing"
@@ -72,7 +73,7 @@ func TestLocalStorageDelete(t *testing.T) {
if exists {
require.NoError(t, err)
} else {
require.ErrorIs(t, err, os.ErrNotExist)
require.ErrorIs(t, err, fs.ErrNotExist)
}
}