mirror of
https://github.com/go-gitea/gitea
synced 2025-01-05 09:46:22 +01:00
lint
This commit is contained in:
parent
e7c6adb1a0
commit
af8033daaf
@ -158,7 +158,7 @@ func (task *ActionTask) LoadRepository(ctx context.Context) (err error) {
|
||||
return nil
|
||||
}
|
||||
task.Repo, err = repo_model.GetRepositoryByID(ctx, task.RepoID)
|
||||
return
|
||||
return err
|
||||
}
|
||||
|
||||
func GetTaskByID(ctx context.Context, id int64) (*ActionTask, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user