Skip to content

Commit a18a42b

Browse files
committed
Run make fmt to format code
1 parent 11db459 commit a18a42b

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

routers/api/v1/repo/actions_run.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,6 @@ func getRunJobsAndCurrent(ctx *context.APIContext, runID, jobIndex int64) (*acti
491491
return jobs[0], jobs, nil
492492
}
493493

494-
495-
496494
// LogCursor represents a log cursor position
497495
type LogCursor struct {
498496
Step int `json:"step"`

routers/web/repo/actions/view.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,6 @@ func Rerun(ctx *context_module.Context) {
500500
ctx.JSONOK()
501501
}
502502

503-
504-
505503
func Logs(ctx *context_module.Context) {
506504
runIndex := getRunIndex(ctx)
507505
jobIndex := ctx.PathParamInt64("job")

services/actions/rerun.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"code.gitea.io/gitea/models/db"
1212
"code.gitea.io/gitea/modules/container"
1313
"code.gitea.io/gitea/modules/util"
14+
1415
"xorm.io/builder"
1516
)
1617

tests/integration/api_actions_run_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ func TestAPIActionsRerunWorkflowRun(t *testing.T) {
153153
req = NewRequest(t, "POST", fmt.Sprintf("/api/v1/repos/%s/actions/runs/999999/rerun", repo.FullName())).
154154
AddTokenAuth(token)
155155
MakeRequest(t, req, http.StatusNotFound)
156-
157-
158156
}
159157

160158
func TestAPIActionsRerunWorkflowRunPermissions(t *testing.T) {

0 commit comments

Comments
 (0)