Browse Source

fix-3393

fix-3221-v1
liuzx 2 years ago
parent
commit
51a816eb54
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/api/v1/repo/cloudbrain.go

+ 1
- 1
routers/api/v1/repo/cloudbrain.go View File

@@ -767,7 +767,7 @@ func CloudbrainGetLog(ctx *context.APIContext) {
result["Lines"] = 1
result["EndLine"] = 1
}
if ctx.Data["existStr"] != nil && result["Lines"].(int) < 60 {
if ctx.Data["existStr"] != nil && result["Lines"].(int) < 60 || ctx.Data["existStr"] != nil && result["Lines"] == 0 {
content = content + ctx.Data["existStr"].(string)
}
}


Loading…
Cancel
Save