Skip to content

Commit 77a898a

Browse files
committed
remove unnecessary code
1 parent a27228e commit 77a898a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

routers/web/repo/actions/actions.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ func List(ctx *context.Context) {
8383
_, err = actions.GetEventsFromContent(content)
8484
if err != nil {
8585
workflow.IsInvalid = true
86-
} else {
87-
workflow.IsInvalid = false
8886
}
8987
workflows = append(workflows, workflow)
9088
}

0 commit comments

Comments
 (0)