Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jan 12, 2020
1 parent 106cd49 commit 3d57347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (repo *Repository) MustOwnerName() string {
return repo.mustOwnerName(x)
}

// MustOwnerNameCtx is similiar MustOwnerName but with a database context
// MustOwnerNameCtx is similar MustOwnerName but with a database context
func (repo *Repository) MustOwnerNameCtx(ctx DBContext) string {
return repo.mustOwnerName(ctx.e)
}
Expand Down Expand Up @@ -717,7 +717,7 @@ func (repo *Repository) Link() string {
return repo.LinkCtx(DefaultDBContext())
}

// LinkCtx is similiar with Link but with database context
// LinkCtx is similar with Link but with database context
func (repo *Repository) LinkCtx(ctx DBContext) string {
return setting.AppSubURL + "/" + repo.fullName(ctx.e)
}
Expand Down

0 comments on commit 3d57347

Please sign in to comment.