1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-26 08:58:24 +00:00

chore: fix lint

This commit is contained in:
Jason Song
2022-12-06 16:53:46 +08:00
parent ab0a60e56a
commit eaf266a635
2 changed files with 0 additions and 2 deletions

View File

@@ -217,7 +217,6 @@ func GetRunnerByID(ctx context.Context, id int64) (*ActionRunner, error) {
return nil, err
} else if !has {
return nil, fmt.Errorf("runner with id %d: %w", id, util.ErrNotExist)
}
return &runner, nil
}