1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-18 00:47:48 -04:00

chore: remove outdated todos

This commit is contained in:
Jason Song 2022-11-25 13:36:54 +08:00
parent 4814a6ad1b
commit 1886156329
2 changed files with 1 additions and 2 deletions

View File

@ -102,7 +102,7 @@ func notifyWithPR(repo *repo_model.Repository, doer *user_model.User, ref string
if len(run.Title) > 255 {
run.Title = run.Title[:255] // FIXME: we should use a better method to cut title
}
jobs, err := jobparser.Parse(content) // TODO: parse with options
jobs, err := jobparser.Parse(content)
if err != nil {
log.Error("jobparser.Parse: %v", err)
continue

View File

@ -121,7 +121,6 @@ func ViewPost(ctx *context_module.Context) {
resp.StateData.AllJobGroups = []ViewGroup{
{
// TODO: maybe we don't need job group
Jobs: respJobs,
},
}