mirror of
https://github.com/go-gitea/gitea
synced 2025-02-07 08:47:00 +01:00
lint
This commit is contained in:
parent
1856b32ace
commit
0180d92d87
@ -145,11 +145,7 @@ func (task *ActionTask) LoadAttributes(ctx context.Context) error {
|
||||
task.Steps = steps
|
||||
}
|
||||
|
||||
if err := task.LoadRepository(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return task.LoadRepository(ctx)
|
||||
}
|
||||
|
||||
func (task *ActionTask) GenerateToken() (err error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user