Browse Source

fix-3393

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

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

@@ -771,6 +771,7 @@ func CloudbrainGetLog(ctx *context.APIContext) {
content = content + ctx.Data["existStr"].(string)
if result["Lines"].(int) == 0 {
result["Lines"] = 1
result["EndLine"] = result["StartLine"]
}
}
}


Loading…
Cancel
Save