Skip to content

Commit f6a0b0e

Browse files
committed
autoSync by Github Action
1 parent 974f61b commit f6a0b0e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/e2e_check.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ func updateTestRecord(ossObjectPath string) {
8787
}
8888
defer response.Body.Close()
8989
data, _ := io.ReadAll(response.Body)
90+
if response.StatusCode != 200 || len(data) == 0 {
91+
return
92+
}
9093
currentTestRecord := string(data) + "\n"
9194

9295
testRecordFileName := "TestRecord.md"

0 commit comments

Comments
 (0)