Skip to content

Commit af8033d

Browse files
committed
lint
1 parent e7c6adb commit af8033d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/actions/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (task *ActionTask) LoadRepository(ctx context.Context) (err error) {
158158
return nil
159159
}
160160
task.Repo, err = repo_model.GetRepositoryByID(ctx, task.RepoID)
161-
return
161+
return err
162162
}
163163

164164
func GetTaskByID(ctx context.Context, id int64) (*ActionTask, error) {

0 commit comments

Comments
 (0)